Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Error reporting from web/mail scripts.

by btrott (Parson)
on Aug 26, 2001 at 22:28 UTC ( [id://107964]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        > When you put a web CGI script or an email processing
        > script or a cron-run script into production, you can't use
        > the standard die and warn functions to get errors because
        > the standard error stream goes to some random place.
    
  2. or download this
              BEGIN {
                use CGI::Carp qw(carpout);
    ...
                  die("Unable to open mycgi-log: $!\n");
                carpout(LOG);
              }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://107964]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found