liblexical-failure-perl_0.000006-1_all.deb


Advertisement

Description

liblexical-failure-perl - Perl module for user-selectable lexically-scoped failure signaling

Distribution: Debian 8 (Jessie)
Repository: Debian Main i386
Package name: liblexical-failure-perl
Package version: 0.000006
Package release: 1
Package architecture: all
Package type: deb
Installed size: 102 B
Download size: 27.26 KB
Official Mirror: ftp.br.debian.org
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.

Alternatives

    Download

    Source package: liblexical-failure-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install liblexical-failure-perl deb package:
      # sudo apt-get install liblexical-failure-perl

    Files

    • /usr/share/doc/liblexical-failure-perl/changelog.Debian.gz
    • /usr/share/doc/liblexical-failure-perl/changelog.gz
    • /usr/share/doc/liblexical-failure-perl/copyright
    • /usr/share/man/man3/Lexical::Failure.3pm.gz
    • /usr/share/man/man3/Lexical::Failure::Objects.3pm.gz
    • /usr/share/perl5/Lexical/Failure.pm
    • /usr/share/perl5/Lexical/Failure/Objects.pm

    Changelog

    2014-05-03 - Salvatore Bonaccorso <carnil@debian.org> liblexical-failure-perl (0.000006-1) unstable; urgency=medium * Imported Upstream version 0.000006 * Update copyright years for debian/* packaging files

    2013-12-29 - Salvatore Bonaccorso <carnil@debian.org> liblexical-failure-perl (0.000005-1) unstable; urgency=medium * Initial Release. (Closes: #733418)

    Advertisement
    Advertisement