Doug MacEachern wrote:

> On Wed, 10 Oct 2001, Stas Bekman wrote:
> 
> 
>>Is there some code that resets %INC in the current mod_perl setup?
>>
> 
> must be something specific to your setup. 
> 
> % cd ModPerl-Registry
> % t/TEST -start
> ...
> % grep "why loading" t/logs/error_log | wc -l
>       2
> % t/TEST -get /registry/basic.pl
> ...
> % grep "why loading" t/logs/error_log | wc -l
>       2
> 
> my only suspect the save/restore code for @INC (happens with
> perl-script handler) that might have stomped %INC too, but i don't see
> that happening.
> 
> oh wait, i see something with t/TEST -run, but that is the client side,
> not server, still get 2 grepping the error_log.
> your .t's 'use Modperl::Registry', that would explain it.

yes, that was the reason. I've fixed it and it works now :)

thanks!!!


_____________________________________________________________________
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]

Reply via email to