Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> liberror-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: liberror-perl  ]

套件: liberror-perl (0.17025-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).

其他與 liberror-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 liberror-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 22.3 kB62 kB [文件列表]