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 reply to Re^3: eval to replace die?
by fireartist
in thread eval to replace die?
by hsmyers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |