libtry-tiny-smartcatch-perl 0.5-3 source package in Ubuntu
Changelog
libtry-tiny-smartcatch-perl (0.5-3) unstable; urgency=medium [ Debian Janitor ] * Apply multi-arch hints. + libtry-tiny-smartcatch-perl: Add Multi-Arch: foreign. -- Jelmer Vernooij <email address hidden> Thu, 13 Oct 2022 21:28:35 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libtry-tiny-smartcatch-perl_0.5-3.dsc | 2.1 KiB | aa6b30dc93a88a7fc03982cf63d5a06a0503bbef6c33821bebd57e6be57c39cf |
libtry-tiny-smartcatch-perl_0.5.orig.tar.gz | 6.8 KiB | 8d52cb4b8a1cf3dfebb3e346a344fbda66f646a5b5ab2524778df5fac18ad7ec |
libtry-tiny-smartcatch-perl_0.5-3.debian.tar.xz | 3.7 KiB | 4f8d1748d42b997c7ac05135fdd2d4da2b713100d2de3bd65a19298dd189b95d |
Available diffs
- diff from 0.5-2 to 0.5-3 (549 bytes)
No changes file available.
Binary packages built by this source
- 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.