Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: canonical doc explaing need for "eval { ... } or do {...}" construct

by pryrt (Abbot)
on May 09, 2022 at 13:52 UTC ( [id://11143697]=note: print w/replies, xml ) Need Help??


in reply to canonical doc explaing need for "eval { ... } or do {...}" construct

according to my bookmark, Bug in eval in pre-5.14 shows an example of the bug in practice, and provides a link to perl514delta, directing you to the sections on $@, which explain that prior to 5.14, $@ could be clobbered. I don't know if that's sufficient enough for you and your colleagues.

addendum: that conversation also has an anonymonk-link to a couple of rt issues with verbiage that says it's still dangerous even after 5.14's improvements.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-29 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found