Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Catching errors.

by Steve_BZ (Chaplain)
on Apr 12, 2013 at 18:31 UTC ( #1028432=note: print w/replies, xml ) Need Help??


in reply to Re: Catching errors.
in thread Catching errors.

Hi Saberworks,

To trap those as well as any way the program as a whole can die, you can set a SIG die handler

This is exacly what I want. Then I can write a handler that runs on autostart, runs my program, and then when it finishes I can check the exit code for errors.

I'll try that.

Regards

Steve

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-09-28 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (526 votes). Check out past polls.