Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Error reporting from web/mail scripts.

by btrott (Parson)
on Aug 26, 2001 at 22:28 UTC ( #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
Node Status?
node history
Node Type: note [id://107964]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-10-18 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (99 votes). Check out past polls.

    Notices?