libtry-tiny-smartcatch-perl 0.5-4 source package in Ubuntu
Changelog
libtry-tiny-smartcatch-perl (0.5-4) unstable; urgency=medium * Team upload. * Remove Makefile.old via debian/clean. (Closes: #1048339) -- gregor herrmann <email address hidden> Fri, 08 Mar 2024 11:47:59 +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 | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libtry-tiny-smartcatch-perl_0.5-4.dsc | 2.4 KiB | 15f192b7d55db2912478d99f7994934aac289755136ba54dcb16afee90589024 |
libtry-tiny-smartcatch-perl_0.5.orig.tar.gz | 6.8 KiB | 8d52cb4b8a1cf3dfebb3e346a344fbda66f646a5b5ab2524778df5fac18ad7ec |
libtry-tiny-smartcatch-perl_0.5-4.debian.tar.xz | 4.1 KiB | f64cca564168df87d957cf293ce6e7e6ab79e5447e2f98190023c6bf945b60f1 |
Available diffs
- diff from 0.5-3 to 0.5-4 (677 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.