|
|
| laziness, impatience, and hubris | |
| 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?? |
|
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
|
|
||||||||||||||||||||