perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: cvs commit: modperl-2.0 Changes
Date Mon, 09 Feb 2004 21:10:08 GMT
Philippe M. Chiasson wrote:

>>  Perl(Input|Output)FilterHandler handlers are now always AutoLoaded, as
>>  if '+' prefix was used. This must be performed to get the access to
>>  filter attributes long before the filter itself is executed.
>>  + tests
[...]
>>   <VirtualHost TestFilter::in_bbs_inject_header>
>>  -  # must be preloaded so the FilterConnectionHandler attributes will
>>  -  # be set by the time the filter is inserted into the filter chain
>>     PerlModule TestFilter::in_bbs_inject_header
>>     PerlInputFilterHandler TestFilter::in_bbs_inject_header
>>     <Location /TestFilter__in_bbs_inject_header>

> Now that PerlinputFilterHandler automagically preloads the module, shouldn't
> the PerlModule line be removed from the tests for clarity/consistency ? 

No. It's needed because PerlResponseHandler uses a non-default 'handler' name:

   PerlModule TestFilter::in_bbs_inject_header
   PerlInputFilterHandler TestFilter::in_bbs_inject_header
   <Location /TestFilter__in_bbs_inject_header>
      SetHandler modperl
      PerlResponseHandler TestFilter::in_bbs_inject_header::response
   </Location>

__________________________________________________________________
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


Mime
View raw message