![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: CGI Error Handlingby bmccoy (Beadle) |
on Dec 10, 2001 at 16:56 UTC ( #130646=note: print w/replies, xml ) | Need Help?? |
A lot depends on the error -- an application level error (bad user input, unavailable resource, etc) I usually handle with my own exception handling routines. Fatal exceptions I usually dump into the web server using somehting like CGI::Carp. It also lets you print error messages to the browser screen, but this shouldn't be done for a production, just as a debugging tool.
-- Brett Go not to the Elves for counsel, for they will say both no and yes
In Section
Seekers of Perl Wisdom
|
|