Skip to content
Sections
>> Trisquel >> Paquets >> nabia >> perl >> liberror-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Paquet source : liberror-perl  ]

Paquet : liberror-perl (0.17029-1)

Perl module for error/exception handling in an OO-ish way

The Error module provides two interfaces. Firstly "Error" provides a procedural interface to exception handling. Secondly "Error" is a base class for errors/exceptions that can either be thrown, for subsequent catch, or can simply be recorded.

Errors in the class "Error" should not be thrown directly, but the user should throw errors from a sub-class of "Error".

Warning: Using the "Error" module is no longer recommended due to the black-magical nature of its syntactic sugar, which often tends to break. Its maintainers have stopped actively writing code that uses it, and discourage people from doing so.

Recommended alternatives are Exception::Class (libexception-class-perl), Error::Exception (not packaged), TryCatch (libtrycatch-perl), and Try::Tiny (libtry-tiny-perl).

Autres paquets associés à liberror-perl

  • dépendances
  • recommandations
  • suggestions
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Télécharger liberror-perl

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
all 25,8 ko71 ko [liste des fichiers]