Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 21400 invoked from network); 11 Aug 2004 18:11:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Aug 2004 18:11:34 -0000 Received: (qmail 86403 invoked by uid 500); 11 Aug 2004 18:11:31 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 86336 invoked by uid 500); 11 Aug 2004 18:11:31 -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 86249 invoked by uid 99); 11 Aug 2004 18:11:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [195.154.174.52] (HELO mail.logilune.com) (195.154.174.52) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 11 Aug 2004 11:11:27 -0700 Received: from [127.0.0.1] (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 137A91E1EE6; Wed, 11 Aug 2004 20:11:23 +0200 (CEST) Message-ID: <411A6149.6080507@stason.org> Date: Wed, 11 Aug 2004 11:11:21 -0700 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040708 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Geoffrey Young Cc: mod_perl Dev Subject: Re: removing some autoconfig magic from A-T References: <4116797E.7040601@stason.org> <4118D51B.3040706@modperlcookbook.org> In-Reply-To: <4118D51B.3040706@modperlcookbook.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Geoffrey Young wrote: > > Stas Bekman wrote: > >>Some of the autoconfig magic starts to create more overhead than it used >>to safe. e.g. all this magic of t/hooks/TestHooks is no longer useful, >>as we add more tests and the test names aren't mapping 1:1 to the phase >>name. > > >>I think we should start stripping those special cases from A-T. Same >>goes for filters which magically figures out which filter handler to >>register. > > > I think I follow what you're talking about - like for > hooks/TestHooks/authz.pm the PerlAuthzHandler is automatically added to > httpd.conf even though it's not in the final config in __DATA__? correct. And if you rename that phase to some other name it's will try to add some bogus handler name instead. > personally, I always found this (single) bit of automagic very, very > confusing. so +1 to remove that bit and just require that __DATA__ be the > config that you want. Cool what about the other thing I have mentioned? t/response vs. special t/hooks/TestHooks (protocols and filters?) > is there more that suppresses? There is a lot more, but at most other places, it works fine and saves a lot of typing and maintenance. So normally you won't need to disable autoconfig. -- __________________________________________________________________ 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