Sounds great - yet obvious. I would have to do about 2 years worth of
work to fix all of the bugs. I didn't create them either, I fix them in
my own code - but we have so much code base. I wanted a mod_perl
solution to overcome this issue by filtering the error.

DJ

On Tue, 2005-04-05 at 22:06 -0400, Stas Bekman wrote:
> David J Radunz wrote:
> > Heya All,
> > 
> >   I have an issue at the moment where if there is an error/warning in my
> > PerlRun script/module then the error/warning is printed as well as the
> > entire contents of the script being eval'ed. This only occurs when a
> > string is evaled and Carp stack trace is on. 
> 
> David, why not fix errors and warnings and have nothing logged at all?
> 
> Why do you set:
> 
> $SIG{__DIE__} = \&Carp::confess;
> $SIG{__WARN__} = \&Carp::cluck;
> 
> Those are used for development, not production env.
> 
> As you've figured it's how perl works, mod_perl doesn't do anything 
> special about it.
> 

This email and any files transmitted with it are confidential and intended 
solely for the 
use of the individual or entity to whom they are addressed. Please notify the 
sender 
immediately by email if you have received this email by mistake and delete this 
email 
from your system. Please note that any views or opinions presented in this 
email are solely
 those of the author and do not necessarily represent those of the 
organisation. 
Finally, the recipient should check this email and any attachments for the 
presence of 
viruses. The organisation accepts no liability for any damage caused by any 
virus 
transmitted by this email. 

Reply via email to