in reply to mod_perl, PerlSetEnv, and PERL5LIB
Then in mod_perl_startup.pl, I add:PerlRequire "/var/www/cgi-bin/mod_perl_startup.pl"
use lib qw(/path_to_your_lib); use Apache::Log(); use Apache::DBI(); # and any other module you want to load
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: mod_perl, PerlSetEnv, and PERL5LIB
by geektron (Curate) on Jul 27, 2004 at 19:52 UTC |