How to Install and Uninstall libtry-tiny-smartcatch-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "libtry-tiny-smartcatch-perl" package

This guide covers the steps necessary to install libtry-tiny-smartcatch-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtry-tiny-smartcatch-perl

2. Uninstall "libtry-tiny-smartcatch-perl" package

Please follow the guidelines below to uninstall libtry-tiny-smartcatch-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtry-tiny-smartcatch-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtry-tiny-smartcatch-perl package on Ubuntu 21.10 (Impish Indri)

Package: libtry-tiny-smartcatch-perl
Architecture: all
Version: 0.5-1.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 40
Depends: perl:any
Filename: pool/universe/libt/libtry-tiny-smartcatch-perl/libtry-tiny-smartcatch-perl_0.5-1.1_all.deb
Size: 11808
MD5sum: c3e8a1bf34e41c5429df0d6b0172bc83
SHA1: a4030d1932cb573ec98faab78d94f67cc207e53a
SHA256: 100a47bed7519dab5066923c099e3d3fce36d64f08eba356ab70269fb5fa6585
SHA512: 83a6c4fb898aa342444a693a309afc4e5e0d8a9f9b2c35ebf0b711db1920ca0d542ac228f166ee2831fdf822f7afad224cb3db4d05b5b8bcea8b270c4855ebbb
Homepage: https://github.com/mysz/try-tiny-smartcatch
Description-en: 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.
Description-md5: 5f13fc52e377d95f8bbc8df25bddc18e