http://qs321.pair.com?node_id=226954

Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks,
I've grown accustomed to using CGI::Carp's fatalsToBrowser to help me with scripts.

To be frank, I work by trial and error, and I'd be lost without it.

But when does it not work? I've had scripts which fail and report the failure through fTB, and a moment later, another error will result in just 500 Internal Server Error and I have to go hunting through the httpd logs.

I'm not smart enough to figure out in which cases are caught by fTB and which ones aren't. Please enlighten me..?
--
“Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.” M-J D