Name
fatalsToBrowser
Synopsis
fatalsToBrowser
Description
When this routine is imported via use
, fatal errors, such as
those produced by die
and confess
, send error messages to the browser as well as the error log.
A simple HTTP response is created with the error message, followed by a request
to send mail to the web administrator.
Get Perl in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.