perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <per...@elem.com>
Subject Re: mod_perl lazy loading modules with eval in custom lib
Date Fri, 06 Jul 2007 23:52:50 GMT
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