perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nik Conwell <>
Subject Re: Enhanced mod_perl for Arguments to the Perl interpreter
Date Wed, 01 Mar 2000 12:07:53 GMT

On Tue, 29 Feb 2000, Doug MacEachern wrote:

> On Thu, 24 Feb 2000, Nik Conwell wrote:
> > 
> > Hi.  I had the need to specify arguments to the mod_perl Perl interpreter
> > (-I in my case) so I enhanced mod_perl to add a new configuration
> > directive, PerlArguments and to pass those to perl when it's started.  
> > The code change was made to mod_perl 1.21.
> thanks for offering the patch, but there's no need for -I to be passed to 
> perl_parse, you can modify @INC at startup time, e.g.
> #httpd.conf
> <Perl>
> use lib qw(/foo/bar)
> </Perl>

I think this is probably too late for my needs.  I wanted to override the that mod_perl pulls in before the various mod_perl startup
facilities get run.

> you can also use the PERL5OPT environment variable to pass nearly all
> other commandline arguments to Perl (see perldoc perlrun)

That should do the trick.  Thanks for the info; it doesn't seem to be in

View raw message