|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: CGI Error Handlingby bmccoy (Beadle) |
| on Dec 10, 2001 at 11:56 UTC ( [id://130646]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||