How to Install and Uninstall perl-UNIVERSAL-can.noarch Package on Amazon Linux 2

Last updated: February 05,2025

1. Install "perl-UNIVERSAL-can.noarch" package

Please follow the step by step instructions below to install perl-UNIVERSAL-can.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install perl-UNIVERSAL-can.noarch

2. Uninstall "perl-UNIVERSAL-can.noarch" package

Please follow the step by step instructions below to uninstall perl-UNIVERSAL-can.noarch on Amazon Linux 2:

$ sudo yum remove perl-UNIVERSAL-can.noarch $ sudo yum autoremove

3. Information about the perl-UNIVERSAL-can.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : perl-UNIVERSAL-can
Arch : noarch
Version : 1.20120726
Release : 3.amzn2
Size : 14 k
Repo : amzn2-core/2/x86_64
Summary : Hack around people calling UNIVERSAL::can() as a function
URL : http://search.cpan.org/dist/UNIVERSAL-can/
License : GPL+ or Artistic
Description : The UNIVERSAL class provides a few default methods so that all
: objects can use them. Object orientation allows programmers to
: override these methods in subclasses to provide more specific and
: appropriate behavior.
:
: Some authors call methods in the UNIVERSAL class on potential
: invocants as functions, bypassing any possible overriding. This is
: wrong and you should not do it. Unfortunately, not everyone heeds
: this warning and their bad code can break your good code.