How To Install perl-Class-Tiny on Fedora 36

In this tutorial we learn how to install perl-Class-Tiny in Fedora 36. perl-Class-Tiny is Minimalist class construction

Introduction

In this tutorial we learn how to install perl-Class-Tiny on Fedora 36.

What is perl-Class-Tiny

This module offers a minimalist class construction kit in around 120 lines of code. Here is a list of features * defines attributes via import arguments * generates read-write accessors * supports lazy attribute defaults * supports custom accessors * superclass provides a standard new constructor * new takes a hash reference or list of key/value pairs * new has heuristics to catch constructor attribute typos * new calls BUILD for each class from parent to child * superclass provides a DESTROY method * DESTROY calls DEMOLISH for each class from child to parent

We can use yum or dnf to install perl-Class-Tiny on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Class-Tiny.

Install perl-Class-Tiny on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Class-Tiny using dnf by running the following command:

sudo dnf -y install perl-Class-Tiny

Install perl-Class-Tiny on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Class-Tiny using yum by running the following command:

sudo yum -y install perl-Class-Tiny

How To Uninstall perl-Class-Tiny on Fedora 36

To uninstall only the perl-Class-Tiny package we can use the following command:

sudo dnf remove perl-Class-Tiny

perl-Class-Tiny Package Contents on Fedora 36

/usr/share/doc/perl-Class-Tiny
/usr/share/doc/perl-Class-Tiny/CONTRIBUTING.mkdn
/usr/share/doc/perl-Class-Tiny/Changes
/usr/share/doc/perl-Class-Tiny/README
/usr/share/licenses/perl-Class-Tiny
/usr/share/licenses/perl-Class-Tiny/LICENSE
/usr/share/man/man3/Class::Tiny.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/Tiny.pm

References

Summary

In this tutorial we learn how to install perl-Class-Tiny on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).