| Sign In/My Account | View Cart |
|
|
We've expanded our Perl news coverage and improved our search! Search for all things Perl across O'Reilly! Perl Resources | Topic: Programming Tie::STDERR The Tie::STDERR module redirects the standard error output to email, file or process. The advantage is that the module catches all output, warnings coming from -w, dies, explicit prints to STDERR. You do not need any special treating of error conditions, just use the module at the start of your scripts. Also, it only sends the email if there actually is something to send, like cron does, so you do not get email for each run of the script, only for those when something went wrong.
|
|
Sponsored By: |