Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 pondering the Monastery: (3)
As of 2014-09-24 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (245 votes), past polls