Gordon Lack wrote:
While it now does unshift rather than push (so the entries end up at the front of @INC, not the back) it does so backwards!
eg:
PerlPassEnv PERL5LIB /dir1:/dir2:/dir3
You mean, PerlSetEnv, don't you? PerlPassEnv doesn't accept values.
Yes, I did - but you get the idea :-).
Related bug.
Using PERL5LIB in this way does not add architecture-specific sub-dirs to @INC (which setting PERL5LIB in the environment does do).
why not fixing that too? should be as easy as copying the relevant bits of code from the perl source (just grep for PERL5LIB).
Suggested fix:
Document the use of:
<Perl> use lib qw( /dir1 /dir2 /dir3 ); /Perl>
instead if you wish to affect mod_perl, or just use SetEnv if you just want to affect CGI (but those scripts *should* be using use lib themselves....IMHO).
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com