Skip to content
Sections
>> Trisquel >> パッケージ >> aramo >> perl >> libtry-tiny-smartcatch-perl
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: libtry-tiny-smartcatch-perl  ]

パッケージ: libtry-tiny-smartcatch-perl (0.5-1.1)

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.

その他の libtry-tiny-smartcatch-perl 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libtry-tiny-smartcatch-perl のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 11.5 kB40 kB [ファイル一覧]