Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://640602]
[ambrus]: 1nickt: the tea didn't have sugar or honey or lemon or milk. or even caffeine in a significant quantity. it's really "colored water", warm water with some fruit smell to make it more pleasant than ordinary warm water.
[ambrus]: 1nickt: in theory, it shouldn't hurt the electronics, but also could temporarily cause problems until it dries, and the inside of the keyboard doesn't dry quickly, because it's closed.
[ambrus]: 1nickt: that's the theory. the theory is also that it should have dried by Sunday morning, but it didn't. so I dunno.
[ambrus]: I'll try today evening if it works now.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2017-11-21 14:39 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (302 votes). Check out past polls.