Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Catching errors.

by Steve_BZ (Hermit)
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 romping around the Monastery: (5)
As of 2014-12-27 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls