BEGIN { use CGI::Carp qw(carpout); open(LOG, ">>/path/to/my/log") or die("Unable to open log: $!\n"); carpout(LOG); }
In reply to Re: Logging the results of 'die'
by sz
in thread Logging the results of 'die'
by harmony
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |