in reply to •Re: How to handle Errors?
in thread How to handle Errors?
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