in reply to What is the best way to extend packages with global error handlers?
Also, is there a more stable Perlish way to allow some measure of customization for error handling?In general, Perl Best Practices (Chapter 13, "Error Handling") recommends throwing exceptions rather than returning special values or setting flags and, in particular, endorses the CPAN Exception::Class module.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: What is the best way to extend packages with global error handlers?
by ELISHEVA (Prior) on Feb 23, 2009 at 09:30 UTC |