Bug#766371: ITP: libtry-tiny-smartcatch-perl -- lightweight Perl module for powerful exceptions handling
Jonas Smedegaard
dr at jones.dk
Wed Oct 22 15:17:24 UTC 2014
Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <dr at jones.dk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
* Package name : libtry-tiny-smartcatch-perl
Version : 0.5
Upstream Author : Marcin Sztolcman <marcin at urzenia.net>
* URL : https://github.com/mysz/try-tiny-smartcatch
* License : Expat
Programming Lang: Perl
Description : 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.
Needed by upcoming ciderwebmail.
Will be maintained in Perl team.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQF8BAEBCgBmBQJUR8qBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vWq2QH/238e+rOcGoFk3sz4KsNDNxc
Ao0BIEgIcw6Ou5qucRl14z2TS7TRDy1Aac0Z/CXstKbH+gLVrbVGD2k1XFvILr+w
qxKvCnJVr+dv776ZT9DbVS9kbfm9H8AyNbkYiFv4qpnwX7BZ9CgAc7AAZPR1IDpe
re0gpuWdiDwjlD4Xl8z+QVdUdmbW7GG5MsirM8ONsCTNUtd8z+kNfjhkc+sy1LHC
hgTrt5mlIdTwNNNE2eHsAxlKfYnD0Aas8rRQmRYSh44/rq1TF4vhcp2m1UQekHdZ
2AgC9tdyU/VEgzN319gIZjDCjxSuIUrPdIJl6YIEJrB0YBXHpfdpH+aR2HnW7LU=
=FBWg
-----END PGP SIGNATURE-----
More information about the pkg-perl-maintainers
mailing list