| There are a few options: in httpd.conf (from http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSwitches_): Now you can pass any Perl's command line switches in httpd.conf using the PerlSwitches directive. For example to enable warnings and Taint checking add: PerlSwitches -wT As an alternative to using use lib in startup.pl to adjust @INC, now you can use the command line switch -I to do that: PerlSwitches -I/home/somehost/perl You could also use -Mlib=/home/somehost/perl which is the exact equivalent as use lib, but it's broken on certain platforms/version (e.g. Darwin/5.6.0). use lib is removing duplicated entries, whereas -I does not. Or you could use a startup.pl that has use lib (from http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Handler_Modules): ....tell mod_perl that /home/httpd/httpd-2.0/perl/ is in @INC, via a startup file which includes just: use lib qw(/home/somehost/perl); 1; and loaded from httpd.conf: PerlRequire /home/somehost/startup.pl |
- [Mason] mason/perl modules on a shared server Jackie Hamilton
- Re: [Mason] mason/perl modules on a shared server Calle Dybedahl
- Re: [Mason] mason/perl modules on a shared server Ryan Perry
- Re: [Mason] mason/perl modules on a shared server Ryan Perry
- Re: [Mason] mason/perl modules on a shared server Aaron Ross

