How To Install perl-Class-Loader on Fedora 36

In this tutorial we learn how to install perl-Class-Loader in Fedora 36. perl-Class-Loader is Load modules and create objects on demand

Introduction

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

What is perl-Class-Loader

Certain applications like to defer the decision to use a particular module till runtime. This is possible in perl, and is a useful trick in situations where the type of data is not known at compile time and the application doesn’t wish to pre-compile modules to handle all types of data it can work with. Loading modules at runtime can also provide flexible interfaces for perl modules. Modules can let the programmer decide what modules will be used by it instead of hard-coding their names. Class a module from disk and construct an object by calling its constructor. It also provides a way to map modules’ names and associated metadata with symbolic names that can be used in place of module names at _load().

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

Install perl-Class-Loader 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-Loader using dnf by running the following command:

sudo dnf -y install perl-Class-Loader

Install perl-Class-Loader 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-Loader using yum by running the following command:

sudo yum -y install perl-Class-Loader

How To Uninstall perl-Class-Loader on Fedora 36

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

sudo dnf remove perl-Class-Loader

perl-Class-Loader Package Contents on Fedora 36

/usr/share/doc/perl-Class-Loader
/usr/share/doc/perl-Class-Loader/Changes
/usr/share/licenses/perl-Class-Loader
/usr/share/licenses/perl-Class-Loader/ARTISTIC
/usr/share/man/man3/Class::Loader.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/Loader.pm
/usr/share/perl5/vendor_perl/Class/LoaderTest.pm

References

Summary

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