Stas Bekman wrote:
>
> On Wed, 11 Apr 2001, Keith G. Murphy wrote:
>
> > Vivek Khera wrote:
> > >
> > > >>>>> "TS" == Tim Sweetman <[EMAIL PROTECTED]> writes:
> > >
> > > TS> you can add directories to @INC by putting
> > >
> > > TS> PerlSetEnv PERL5LIB /home/httpd/perl
> > >
> > > Just use the second method in the guide. ie, use lib '/path/to/lib'
> > > in a startup script.
> > >
> > I request that the guide be changed, since apparently the 'PerlSetEnv'
> > way hasn't worked properly for some time. Never has for me, anyway.
>
> Do you have the taint mode turned on? I think at some point mod_perl
> ignores PERL5LIB settings then. Can you confirm that?
>
It seems to be working like a charm for me now. :-)
I regret the false imputation...
The root of my misunderstanding was that I did not realize that when I
would start apache by hand, it was getting PERL5LIB from my shell
environment.
Then, when the system would reboot, and start Apache, it didn't have it!
So I probably just had things misconfigured (like using 'SetEnv' instead
of 'PerlSetEnv'), and mistakenly concluded that 'use lib' was the only
thing that works reliably.
I could never really debug the problem properly, since everything always
worked by hand.
Then when I saw Tim's post, it seemed to confirm what I already thought
I knew.
Shows what assuming will do. Hee-haw. ;-)