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

套件: libexception-class-trycatch-perl (1.13-1)

syntactic try/catch sugar for use with Exception::Class

Exception::Class::TryCatch provides syntactic sugar for use with Exception::Class using the familiar keywords try and catch. Its primary objective is to allow users to avoid dealing directly with $@ by ensuring that any exceptions caught in an eval are captured as Exception::Class objects, whether they were thrown objects to begin with or whether the error resulted from die. This means that users may immediately use isa and various Exception::Class methods to process the exception.

In addition, this module provides for a method to push errors onto a hidden error stack immediately after an eval so that cleanup code or other error handling may also call eval without the original error in $@ being lost.

其他與 libexception-class-trycatch-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libexception-class-perl
    module that allows you to declare real exception classes in Perl
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libexception-class-trycatch-perl

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