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). 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).