Itatsumaki has asked for the wisdom of the Perl Monks concerning the following question:
Howdy monks,
This might be standard question: if so, please point me at the documentation, because I just can't figure out what to call my problem.
In a variety of CGI scripts I use the eval { } if ($@) { } construct to catch errors from DBI or BioPerl modules. Interestingly, though, any errors that are caught still get written to my cgi.log filling it up. I'd like to turn that off, if at all possible. Is there a standard way of doing this? What exactly am I looking to turn off? It isn't STDOUT, so is it writing to STDERR I want to disable?
-Tats
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Disable writing of eval'd errors to CGI log
by Zed_Lopez (Chaplain) on Nov 27, 2003 at 06:24 UTC | |
by Itatsumaki (Friar) on Nov 28, 2003 at 18:37 UTC | |
|
Re: Disable writing of eval'd errors to CGI log
by davido (Cardinal) on Nov 27, 2003 at 07:30 UTC | |
by Itatsumaki (Friar) on Nov 28, 2003 at 18:36 UTC | |
|
Re: Disable writing of eval'd errors to CGI log
by bart (Canon) on Nov 27, 2003 at 09:19 UTC | |
|
Re: Disable writing of eval'd errors to CGI log
by ambrus (Abbot) on Nov 27, 2003 at 10:58 UTC | |
by Zed_Lopez (Chaplain) on Nov 27, 2003 at 16:45 UTC |