Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: eval: Why use the 'Zombie error' idiom?

by haukex (Chancellor)
on Oct 18, 2019 at 11:24 UTC ( #11107653=note: print w/replies, xml ) Need Help??


in reply to eval: Why use the 'Zombie error' idiom?

See Bug in eval in pre-5.14 and the replies, there were/are a few remaining issues even after the major bug was fixed, it seems not until 5.28 - and I'd not trust the eval { ... }; if ($@) { ... } pattern anyway. So I'd always use the eval { ...; 1 } or do { ... } idiom without relying on $@.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2019-11-15 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (84 votes). Check out past polls.

    Notices?