[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: PerlSwitches
From: "Octavian Rasnita" <orasnita () gmail ! com>
Date: 2008-09-19 16:47:48
Message-ID: 00C2E07E7F8B41DB99F5579D66D60F71 () teddy
[Download RAW message or body]
Hi,
I try to load a Catalyst application using mod_perl, but if I use
PerlSwitches for specifying the lib dir, it gives an error telling that the
perl module can't be found:
PerlSwitches -Ie:/web/Acces/lib
PerlModule Acces
And the error:
[Fri Sep 19 19:44:12 2008] [error] Can't locate Acces.pm in @INC (@INC
contains: E:/perl510/site/lib E:/perl510/lib . E:/apache229) at (eval 3)
line 3.\n
It seems that the path I want is not added in @INC. Am I doing something
wrong?
I have also tried using:
PerlSwitches -I"e:/web/Acces/lib"
but with no good results.
It works fine if I use:
PerlRequire "e:/web/Acces/script/preload.pl"
and in preload.pl I use
use lib 'e:/web/Acces/lib';
use Acces;
1;
Is there a way of not using an external preload.pl file but load the perl
module directly in httpd.conf (under Windows XP)?
Thank you.
Octavian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic