perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ask Bjoern Hansen <...@valueclick.com>
Subject Re: Apache::StatINC.pm
Date Tue, 28 Mar 2000 07:53:55 GMT
On Tue, 28 Mar 2000, René Seindal wrote:

> If both ways cause problems, then the right solution is to leave it to
> the user.  Apache::StatINC already uses dir_config() to adjust its
> behaviour according to user preferences, so adding another configuration
> variable can't be a problem.  Current behaviour would be the default and
> setting a variable with PerlSetVar would change it to what we have
> proposed.

Or maybe it could try the other if the first doesn't work. (Except that
might get very confusing.. hmn).

> I'll make a patch relative to the cvs version if there is any change
> such a change would make it into the distribution.  It will inspect a
> PerlSetVar parameter, and use require() or do() accordingly - couldn't
> be simpler.

Sure, that we can certainly put in the distribution.

Your patch should check the return value of "do".

I also believe it would be needed to populate $INC{} (or make sure it
doesn't get deleted), right?


 - ask

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>
more than 70M impressions per day, <http://valueclick.com>


Mime
View raw message