Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 studying the Monastery: (6)
As of 2016-10-01 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.