errors - Error Handling for Perl
This module is still being designed. Don't use it yet.
use errors; try { raise Error("Something is not cool") if $uncool; } except { warn $_; } finally { cleanup(); };
Yet another attempt to add clean, sane, flexible and usable error handling to Perl.
Ingy döt Net <ingy@cpan.org>
Copyright (c) 2009. Ingy döt Net.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install errors, copy and paste the appropriate command in to your terminal.
cpanm
cpanm errors
CPAN shell
perl -MCPAN -e shell install errors
For more information on module installation, please visit the detailed CPAN module installation guide.