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);
              }