Hi,
I am trying to run the perl module e:/web/ANR/lib/ANR.pm (a Catalyst
application) using mod_perl. I have tried in httpd.conf:
PerlSwitches -Ie:/web/ANR/lib
PerlModule ANR
...
But the server writes in the log that the module ANR cannot be loaded.
However, it works if I do:
PerlRequire "e:/web/ANR/script/preload.pl"
The file preload.pl contains:
#!d:/usr/bin/perl
use lib 'e:/web/ANR/lib';
use ANR;
1;
What is wrong when using the first method?
I am interested in this, because I try to see why 2 Catalyst applications
cannot run both in the same time, but they can run very well if I run only
one of them.
Thank you.
Octavian