perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christiaan Kras <c.k...@pcc-online.net>
Subject Re: mod_perl lazy loading modules with eval in custom lib
Date Sat, 07 Jul 2007 09:14:46 GMT
Yes,

Because in my error messages it clearly says it can't find the modules 
in @INC. Then it shows all the paths in @INC and my custom lib isn't set 
there, instead, @INC is at it's original state.

Christiaan Kras

Perrin Harkins schreef:
> On 7/6/07, Christiaan Kras <c.kras@pcc-online.net> wrote:
>> I'm 100% sure it happens in the modules that use lazy loading
>> (eval(require "module.pm")). Somehow @INC gets reset.
>
> Are you sure @INC is getting reset?  Sometimes people have this
> problem because the user that apache runs as (usually "nobody")
> doesn't have permissions to access the directories in @INC.  At
> startup, they get loaded as root, so this isn't an issue at that time.
>
> - Perrin
>



Mime
View raw message