软件包: libtry-tiny-smartcatch-perl (0.5-1.1)
libtry-tiny-smartcatch-perl 的相关链接
Trisquel 的资源:
下载源码包 libtry-tiny-smartcatch-perl:
- [libtry-tiny-smartcatch-perl_0.5-1.1.dsc]
- [libtry-tiny-smartcatch-perl_0.5.orig.tar.gz]
- [libtry-tiny-smartcatch-perl_0.5-1.1.debian.tar.xz]
维护者:
Original Maintainers:
- Debian Perl Group (Mail Archive)
- Jonas Smedegaard
外部的资源:
- 主页 [github.com]
相似软件包:
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