You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by perennialmind <ed...@physics.unh.edu> on 2005/04/07 09:16:38 UTC

Server -> ServerReq

This may well be fixed in cvs, but I didn't see any info on how to
find out, so, just in case...  

According to http://perl.apache.org/dist/mod_perl-2.0-current/Changes
, mod_perl version 1.99_15 moved Apache::Server to Apache::ServerReq.
 As of Apache::ASP version 2.57, ASP::ApacheCommon still references
Apache::Server.  Because this is loaded inside an eval block for which
$@ isn't even checked, the failure to load Apache::ServerReq and
Apache::Log goes unnoticed.  For me this results in small breakages
such as:
Can't locate object method "log_error" via package Apache::RequestRec"
instead of useful messages in the error log.  Judging from the list
archives, I am not alone.

Loading Apache::Server and Apache::Log elsewhere, perhaps via
Apache::compat, masks the bug, so I could easily imagine this going
unnoticed.




---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: Server -> ServerReq

Posted by Joshua Chamas <jo...@chamas.com>.
perennialmind wrote:
> This may well be fixed in cvs, but I didn't see any info on how to
> find out, so, just in case...  
> 
> According to http://perl.apache.org/dist/mod_perl-2.0-current/Changes
> , mod_perl version 1.99_15 moved Apache::Server to Apache::ServerReq.
>  As of Apache::ASP version 2.57, ASP::ApacheCommon still references

BTW, I just fixed this and uploaded the version 2.59 to CPAN.

Regards,

Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org