Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: CGI Error Handling

by Lucky (Scribe)
on Dec 10, 2001 at 16:48 UTC ( #130644=note: print w/ replies, xml ) Need Help??

in reply to CGI Error Handling

There is one useful package in Perl standard library - CGI::Carp.
It will help you to redirect ALL errors and warnings to your own log file.

BEGIN{ use CGI::Carp qw(carpout); open LOG, $logfile or die "Couldn't open log file: $!"; carpout(LOG); }
see also 'man CGI::Carp';

Comment on Re: CGI Error Handling
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2015-11-30 22:27 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls