Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: forcing eval'd die to ignore global $SIG{__DIE__} handler

by dk (Chaplain)
on Sep 23, 2007 at 18:52 UTC ( #640602=note: print w/ replies, xml ) Need Help??


in reply to Re: forcing eval'd die to ignore global $SIG{__DIE__} handler
in thread forcing eval'd die to ignore global $SIG{__DIE__} handler

quote latest "perldoc perlvar":

Having to even think about the $^S variable in your exception handlers is simply wrong. $SIG{__DIE__} as currently implemented invites grievous and difficult to track down errors. Avoid it and use an "END{}" or CORE::GLOBAL::die override instead.

I'm not saying that I support that, quite the contrary, but at least it is worth to know about this sudden perversion of the nature.


Comment on Re^2: forcing eval'd die to ignore global $SIG{__DIE__} handler

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-09-01 19:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls