perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] 1.99_09 and PerlHandler directive.
Date Sun, 11 May 2003 05:45:00 GMT
Dmitri Tikhonov wrote:
> Since I figured out the answers for both of these questions, I will
> close this thread:
> 
> On Fri, May 09, 2003 at 08:30:23PM -0400, Dmitri Tikhonov wrote:
> 
>>I've recently upgraded from 1.99_08 to 1.99_09, when I found out (with
>>dismay and much crying :) that this step breaks configuration options
>>I had set up.  In 1.99_08, I specified some handlers like this:
>>
>>  PerlHandler  Custom::Blah::error_403
>>
>>where error_403 is a subroutine inside Custom/Blah.pm.  However, 1.99_09
>>actually looks for Custom/Blah/error_403.pm (and cannot find it).
>>
>>Was this change made on purpose, thus breaking compatibility with all
>>previous mod_perls (including 1.3.*)?
> 
> 
> Yes, otherwise if a module is not found, a wrong higher-level module
> could be loaded, for instance, Apache instead of Apache::Foo.

That's correct. It was causing more pain than gain.

>>P.S.  Is there a WebCVS for mod_perl?
> 
> 
> http://cvs.apache.org/viewcvs.cgi/modperl-2.0/

I'll a link to this one from perl.apache.org/download/source.html

__________________________________________________________________
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