Check out the
CGI::CarpThis will dump the information to your webserver's log (unless you specify to dump it to the browser). Then Apache/IIS will handle the write and your script can die(croak).
--
BigJoeLearn patience, you must.
Young PerlMonk, craves Not these things.
Use the source Luke.