How to Install and Uninstall perl-Try-Tiny.noarch Package on Amazon Linux 2

Last updated: July 01,2024

1. Install "perl-Try-Tiny.noarch" package

Here is a brief guide to show you how to install perl-Try-Tiny.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install perl-Try-Tiny.noarch

2. Uninstall "perl-Try-Tiny.noarch" package

Please follow the guidance below to uninstall perl-Try-Tiny.noarch on Amazon Linux 2:

$ sudo yum remove perl-Try-Tiny.noarch $ sudo yum autoremove

3. Information about the perl-Try-Tiny.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : perl-Try-Tiny
Arch : noarch
Version : 0.12
Release : 2.amzn2
Size : 24 k
Repo : amzn2-core/2/x86_64
Summary : Minimal try/catch with proper localization of $@
URL : http://search.cpan.org/dist/Try-Tiny
License : MIT
Description : This module provides bare bones try/catch statements that are
: designed to minimize common mistakes with eval blocks, and NOTHING
: else.
:
: This is unlike TryCatch, which provides a nice syntax and avoids
: adding another call stack layer, and supports calling return from
: the try block to return from the parent subroutine. These extra
: features come at a cost of a few dependencies, namely
: Devel::Declare and Scope::Upper that are occasionally problematic,
: and the additional catch filtering uses Moose type constraints,
: which may not be desirable either.