We don't bite newbies here... much | |
PerlMonks |
Re^3: eval to replace die?by fireartist (Chaplain) |
on Oct 05, 2010 at 11:15 UTC ( [id://863576]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|