Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: How to handle Errors?by adrianh (Chancellor) |
on Apr 05, 2004 at 21:33 UTC ( [id://342757]=note: print w/replies, xml ) | Need Help?? |
Class::Exception to create the nested error classes, Exception::Class... m'thinks :-) (which I agree is very nice) and Error to create syntax to catch exceptions. I have to admit I shun the syntactic sugar and just use plain old if statements. Avoids the whole accidentally-creating-closures issue / memory leak issues.
In Section
Seekers of Perl Wisdom
|
|