On Fri, 1 Mar 2002, Dermot Paikkos wrote:
> So I guess I need to know how to make the PERL5LIB variable
> available to Apache from its first initialisation (would that be the
> startup.pl or the UID of the httpd process?). I also need to make sure
> that this is variable persists.
PerlSetVar PERL5LIB <path>
should accomplish this.
You can also do
use lib '<path>';
in your scripts to have them search the correct path to modules that
aren't in @INC. I also use Apache::Reload. See the appropriate
documentation (it talks about using Apache::Reload as a drop-in for
StatINC).
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
My mother wants grandchildren, so I said, "Mom, go for it!"
-- Sue Murphy