Hi,
According to this document,
http://thingy.kcilink.com/modperlguide/porting/_INC_and_mod_perl.html
you can add directories to @INC by putting
PerlSetEnv PERL5LIB /home/httpd/perl
in your Apache conf. file (that is unless you're using taint checking,
in which case it will be ignored...?)
Not using taint checking, and with Apache 1.3.12, mod_Perl 1.24, I find
that this behaves exactly the same as SetEnv PERL5LIB, ie. works for the
first page request, after which @INC reverts to its state without the
directories listed in SetEnv.
A previous approach, which does appear to work, is to set PERL5LIB
*before* starting Apache
ie. PERL5LIB=/usr/lib/foo httpsd ...
Can anyone shed any light on this?
Thanks in advance,
--
Tim Sweetman
A L Digital
"Who knows where the Tim goes?" --- Fairport Convention