There's more than one way to do things | |
PerlMonks |
Re^3: SetEnv PERL5LIB in htaccess for Apache 2.2 versus 1.3by scorpio17 (Canon) |
on Jul 03, 2007 at 13:22 UTC ( [id://624675]=note: print w/replies, xml ) | Need Help?? |
Here's what I suggest:
Somewhere in you apache config file, add something like this (the exact path can vary, of course):
Then create startup.pl so that it looks like this:
The use lib line adds directories to the search path. If you actually put use MY::MODULE in the startup file, these modules will be preloaded when apache starts up.
In Section
Seekers of Perl Wisdom
|
|