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

Re^3: eval to replace die?

by fireartist (Chaplain)
on Oct 05, 2010 at 11:15 UTC ( #863576=note: print w/ replies, xml ) Need Help??


in reply to Re^2: eval to replace die?
in thread eval to replace die?

If the problem is that exception objects should be used instead of die(), then Try::Tiny won't solve this at all!

Try::Tiny provides an easy-to-use alternative to eval - but without using some other module to provide exception objects, you'll still be stuck having to call die() in the catch{} block.


Comment on Re^3: eval to replace die?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (18)
As of 2015-07-02 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls