Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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


Comment on Re^2: Catching errors.

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 surveying the Monastery: (13)
As of 2015-07-07 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls