Pakiet: liblexical-failure-perl (0.000007-2.1)
Odnośniki dla liblexical-failure-perl
Zasoby systemu Trisquel:
- Install using apturl
- Entry at directory.fsf.org
- Raporty o błędach
- Changelog
- Informacje nt. praw autorskich
Pobieranie pakietu źródłowego liblexical-failure-perl:
- [liblexical-failure-perl_0.000007-2.1.dsc]
- [liblexical-failure-perl_0.000007.orig.tar.gz]
- [liblexical-failure-perl_0.000007-2.1.debian.tar.xz]
Opiekun:
Original Maintainers:
- Debian Perl Group (Archiwum e-mail)
- Salvatore Bonaccorso
Zasoby zewnętrzne:
- Strona internetowa [metacpan.org]
Podobne pakiety:
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.
Inne pakiety związane z liblexical-failure-perl
|
|
|
-
- dep: libkeyword-simple-perl
- Perl module to define new keywords in pure Perl
-
- dep: libscope-upper-perl
- module to manipulate upper scopes
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
- dep: perl (>= 5.14.0)
Pobieranie liblexical-failure-perl
Architektura | Rozmiar pakietu | Rozmiar po instalacji | Pliki |
---|---|---|---|
all | 25,9 KiB | 71 KiB | [lista plików] |