perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arshavir Grigorian>
Subject logging at startup
Date Wed, 10 Nov 2004 15:11:50 GMT

I have a package hash that I am trying to tie to a db table when the 
package is loaded.
I also have an error handling routine that logs the error using 
Apache::Log->log_error() routine then displays a standard error page to 
the user.
The problem is that when the module is loaded there is no request object 
and I am not sure how I can use log_error without it. I suppose I could 
use CGI::Carp instead (if the request object passed into the error 
handler was not initialized). Would this be a correct approach?
Thanks for any comments.


Report problems:
Mail list info:
List etiquette:

View raw message