Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Disabling CGI::Carp(fatalsToBrowser)by Spidy (Chaplain) |
on Sep 14, 2006 at 16:28 UTC ( [id://572950]=perlquestion: print w/replies, xml ) | Need Help?? |
Spidy has asked for the wisdom of the Perl Monks concerning the following question:
Greetings fellow monks, I'm writing a script that uses a module dedicated to outputting unique error pages. The script has the line:
at the top of it, so that I can quickly debug problems. However, this means that when my module calls die() inside its error outputting routine, I get "at line 46 of moduleName.pm..." at the bottom of my error page. I need a way to make it so that fatalsToBrowser does not apply to the module, but does apply to the script. Does anyone know how I could do this? Please note, I have tried using within my module. Thanks, Spidy
Back to
Seekers of Perl Wisdom
|
|