Don't ask to ask, just ask | |
PerlMonks |
Re: Opinions of Error.pmby rvosa (Curate) |
on Sep 04, 2006 at 17:57 UTC ( [id://571128]=note: print w/replies, xml ) | Need Help?? |
I use Exception::Class to build exception hierarchies and Exception::Class::TCF for try/catch functionality. If a standard die is called inside a try block, Exception::Class::TCF turns it into an exception object (of class 'Default') through some clever jiggery-pokery. Might be what you're looking for.
In Section
Seekers of Perl Wisdom
|
|