Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2016-10-23 17:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.