Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-07-19 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (420 votes). Check out past polls.

    Notices?