Is there some code that resets %INC in the current mod_perl setup?
I observe a very weird behavior in the ModPerl-Registry setup, I preload
all the modules that I use from httpd.conf, but then I see them reloaded
on every request (It's not Apache::Reload, I've commented it out in
extra.conf.in and rebuild config). Even worse, the reload happens
without mod_perl env, so I cannot do Apache->server even if it now exists.
try putting:
warn "!!! NO MODPERL" unless exists $ENV{MOD_PERL};
use Carp;
Carp::cluck("why loading me again?");
for example into lib/ModPerl/Registry.pm and run t/TEST.
Just to be on the safe side, comment out the 4 Apache::Reload lines in
t/conf/extra.conf.in before you go.
I guess I miss something obvious, but I cannot figure out what is it :(
Thanks a bunch!!!
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]