Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 9554 invoked from network); 8 Dec 2003 18:11:41 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Dec 2003 18:11:41 -0000 Received: (qmail 27810 invoked by uid 500); 8 Dec 2003 18:11:32 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 27798 invoked by uid 500); 8 Dec 2003 18:11:32 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 27785 invoked from network); 8 Dec 2003 18:11:32 -0000 Received: from unknown (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 8 Dec 2003 18:11:32 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 92D1678F1E; Mon, 8 Dec 2003 19:11:34 +0100 (CET) Message-ID: <3FD4C03A.7010008@stason.org> Date: Mon, 08 Dec 2003 10:17:30 -0800 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Enrico Sorcinelli Cc: dev@perl.apache.org Subject: Re: [MP2] failed to resolve handler `Apache::PerlSections' References: <20031207114719.764120a8.e.sorcinelli@pisa.iol.it> In-Reply-To: <20031207114719.764120a8.e.sorcinelli@pisa.iol.it> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Enrico Sorcinelli wrote: > 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/PerlSections.pm >>>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 >>patch. > > > 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. Great, thanks for testing, Enrico. The patch may have failed as it was against the cvs tree, not 1.9911. > You will insert it into the current CVS or we should apply the patch > each time (or we should be preload Apache::PerlSections)? Watch this thread's resolution (which wasn't reached yet) and some sort of solution will be applied. > Many thanks! :-) ;) __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org