
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.