Customize fatal error messages in Perl CGI apps
We all know Carp and CGI::Carp, and they're quite useful when catching errors in your apps. But, the messages are butt-ugly, sorry to say. CGI::Carp to the rescue. It has some nifty functions that can be used to make the error messages friendlier.
To set a custom message when fatal errors are encountered:
(Side note: The
To set a custom message when fatal errors are encountered:
(Side note: The
mailto URI scheme has some great extensions as well.)
Comments
Post a Comment