Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Drawback of eval {---}if ($@){---}, when using many times?

by stevieb (Canon)
on Oct 29, 2015 at 22:50 UTC ( [id://1146409]=note: print w/replies, xml ) Need Help??


in reply to Re: Drawback of eval {---}if ($@){---}, when using many times?
in thread Drawback of eval {---}if ($@){---}, when using many times?

I've made this a question, please see Do the Monks recommend Try::Tiny for eval work?.

There's been a bunch of talk about the if $@ after eval lately. Do the monks who have much experience with eval recommend Try::Tiny, or do they just use something like Corion suggested in Re: What does eval actually do?? Some of my modules and especially their unit tests are using the 'faulty' method, and it's blatantly clear I may have unknown issues.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-20 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found