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

Re^2: die/warn signal handler best practice questions

by bsb (Priest)
on Oct 08, 2007 at 23:23 UTC ( [id://643586]=note: print w/replies, xml ) Need Help??


in reply to Re: die/warn signal handler best practice questions
in thread die/warn signal handler best practice questions

What you say is true for applications, but I'm trying to write a module that installs die/warn handlers.

I could just return the handler to install and let the user do the local($SIG{..}) in the correct scope... That's an awkward interface, but might but useful in some circumstances.

Thanks for your comments

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-29 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found