全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: libtry-tiny-smartcatch-perl  ]

套件:libtry-tiny-smartcatch-perl(0.5-1)

libtry-tiny-smartcatch-perl 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 libtry-tiny-smartcatch-perl

維護小組:

外部的資源:

相似套件:

lightweight Perl module for powerful exceptions handling

Try::Tiny::SmartCatch's goals are mostly the same as Try::Tiny module, but there are few changes to it's specification. Main difference is possibility to catch just some kinds of exceptions in place of catching everything. Another one is slightly changed syntax.

When raised exception is an object, Try::Tiny::SmartCatch will test for exception type (using UNIVERSAL::isa). When raised exception is just a text message (like "die ('message')"), there can be specified part of message to test for.

There are also explicit sub blocks. In opposite to Try::Tiny, every block in Try::Tiny::SmartCatch's "try", "catch_when", "catch_default", "then" and "finally" must have explicit subroutines specified.

標籤: 軟體開發: Perl 開發, 函式庫, 實做語言: Perl

其他與 libtry-tiny-smartcatch-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 libtry-tiny-smartcatch-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 14。6 kB36。0 kB [檔案列表]