perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrico Sorcinelli <>
Subject Re: [MP2] failed to resolve handler `Apache::PerlSections'
Date Sun, 07 Dec 2003 10:47:19 GMT
On Thu, 04 Dec 2003 17:16:38 -0800
Stas Bekman <> wrote:

Hi Stas,

>> The problem seems to be as following: Apache::Status somehow 
>> autovivifies Apache::PerlSections stash, while Apache/ 
>> wasn't loaded yet. That's why preloading Apache::PerlSections solves the 
>> problem. Our code does not attempt to load packages whose stashes exist, 
>> which is obviously wrong. I'll post a patch soonish. I think instead of 
>> checking for the stash, we need to check %INC.

>It was a bit trickier than I thought, but now the code is even simpler to 
>follow. This should solve your problem Enrico. 'make test' pass 100% with this 

I've applied the patch (manually because 'patch' fails) to mp 1.9911
(Perl 5.8.1): all tests pass and the problem seems to be solved.

You will insert it into the current CVS or we should apply the patch
each time (or we should be preload Apache::PerlSections)?

Many thanks! :-)


	- Enrico

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message