Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: canonical doc explaing need for "eval { ... } or do {...}" constructby pryrt (Abbot) |
on May 09, 2022 at 13:52 UTC ( [id://11143697]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|