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

Re^2: Testing a module with eval() where $@ is clobbered (pre v5.14)

by Anonymous Monk
on Jan 17, 2016 at 11:50 UTC ( [id://1152967]=note: print w/replies, xml ) Need Help??


in reply to Re: Testing a module with eval() where $@ is clobbered (pre v5.14)
in thread Testing a module with eval() where $@ is clobbered (pre v5.14)

Found 'em. RT#123738, RT#123773, and perlvar:

Due to an implementation glitch, the $SIG{__DIE__} hook is called even inside an eval(). Do not use this to rewrite a pending exception in $@, or as a bizarre substitute for overriding CORE::GLOBAL::die(). This strange action at a distance may be fixed in a future release so that $SIG{__DIE__} is only called if your program is about to exit, as was the original intent. Any other use is deprecated.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found