in reply to Logging the results of 'die'

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).

--BigJoe

Learn patience, you must.
Young PerlMonk, craves Not these things.
Use the source Luke.