Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Catching errors.

by Steve_BZ (Chaplain)
on Apr 12, 2013 at 18:31 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1028432]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-19 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found