liblexical-failure-perl 0.000005-1 source package in Ubuntu
Changelog
liblexical-failure-perl (0.000005-1) unstable; urgency=medium * Initial Release. (Closes: #733418) -- Salvatore Bonaccorso <email address hidden> Sun, 29 Dec 2013 08:25:22 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Trusty | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
liblexical-failure-perl_0.000005-1.dsc | 2.2 KiB | 4e94e6364a835ba44aa3473b6ed4919d99efd4fcd6ee2fcf89a9349400e59a68 |
liblexical-failure-perl_0.000005.orig.tar.gz | 16.9 KiB | 1e05669f52b8c587696f196417f6803cf7582613cd5dab70409809a39715108d |
liblexical-failure-perl_0.000005-1.debian.tar.gz | 1.8 KiB | 3f393c4fc7b8b8c0e2b287c524af1e57f0efbe4bb882b5a9bad8abe55f9ec943 |
No changes file available.
Binary packages built by this source
- liblexical-failure-perl: Perl module for user-selectable lexically-scoped failure signaling
Lexical::Failure sets up two new keywords: fail and ON_FAILURE, with which
you can quickly create modules whose failure signaling is lexcially scoped,
under the control of client code.
.
Normally, modules specify some fixed mechanism for error handling and require
client code to adapt to that policy. One module may signal errors by
returning undef, or perhaps some special "error object". Another may die or
croak on failure. A third may set a flag variable. A fourth may require the
client code to set up a callback, which is executed on failure.
.
If you are using all four modules, your own code now has to check for failure
in four different ways, depending on where the failing component originated.
If you would rather that all components throw exceptions, or all return
undef, you will probably have to write wrappers around 3/4 of them, to
convert from their "native" failure mechanism to your preferred one.