| 1 |
Source: libtry-tiny-smartcatch-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Build-Depends: |
| 5 |
debhelper-compat (= 13), |
| 6 |
perl, |
| 7 |
Maintainer: Debian Perl Group <[email protected]> |
| 8 |
Uploaders: Jonas Smedegaard <[email protected]> |
| 9 |
Standards-Version: 4.7.2 |
| 10 |
Homepage: https://github.com/mysz/try-tiny-smartcatch |
| 11 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libtry-tiny-smartcatch-perl.git |
| 12 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libtry-tiny-smartcatch-perl |
| 13 |
Testsuite: autopkgtest-pkg-perl |
| 14 |
|
| 15 |
Package: libtry-tiny-smartcatch-perl |
| 16 |
Architecture: all |
| 17 |
Depends: |
| 18 |
${misc:Depends}, |
| 19 |
${perl:Depends} |
| 20 |
Description: lightweight Perl module for powerful exceptions handling |
| 21 |
Try::Tiny::SmartCatch's goals are mostly the same as Try::Tiny module, |
| 22 |
but there are few changes to it's specification. Main difference is |
| 23 |
possibility to catch just some kinds of exceptions in place of catching |
| 24 |
everything. Another one is slightly changed syntax. |
| 25 |
. |
| 26 |
When raised exception is an object, Try::Tiny::SmartCatch will test for |
| 27 |
exception type (using UNIVERSAL::isa). When raised exception is just a |
| 28 |
text message (like "die ('message')"), there can be specified part of |
| 29 |
message to test for. |
| 30 |
. |
| 31 |
There are also explicit sub blocks. In opposite to Try::Tiny, every |
| 32 |
block in Try::Tiny::SmartCatch's "try", "catch_when", "catch_default", |
| 33 |
"then" and "finally" must have explicit subroutines specified. |
| 34 |
Multi-Arch: foreign |