in reply to Re: Gettin ALL errors with carp module
in thread Gettin ALL errors with carp module
Which, according to the documentation, catches compile time errors and writes them to a filehandle. So I figured the same could be done and use a filehandle to write to the browser. Am I wrong?BEGIN { use CGI::Carp qw(carpout); open(LOG, ">>/usr/local/cgi-logs/mycgi-log") or die("Unable to open mycgi-log: $!\n"); carpout(LOG); }
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Gettin ALL errors with carp module
by Masem (Monsignor) on May 20, 2001 at 17:23 UTC |