in reply to Opinions of Error.pm

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.

Replies are listed 'Best First'.
Re^2: Opinions of Error.pm
by astroboy (Chaplain) on Sep 10, 2006 at 03:12 UTC
    Yep, I agree - I think Exception::Class::* is the way to go for exception handling in Perl