How To Install perl-MouseX-ConfigFromFile on Fedora 36

In this tutorial we learn how to install perl-MouseX-ConfigFromFile in Fedora 36. perl-MouseX-ConfigFromFile is An abstract Mouse role for setting attributes from a config file

Introduction

In this tutorial we learn how to install perl-MouseX-ConfigFromFile on Fedora 36.

What is perl-MouseX-ConfigFromFile

This is an abstract role that provides an alternate constructor for creating objects using parameters passed in from a configuration file. The actual implementation of reading the configuration file is left to concrete sub-roles. It declares an attribute configfile and a class method new_with_config, and requires that concrete roles derived from it implement the class method get_config_from_file. Attributes specified directly as arguments to new_with_config supersede those in the configfile.

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

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

sudo dnf -y install perl-MouseX-ConfigFromFile

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

sudo yum -y install perl-MouseX-ConfigFromFile

How To Uninstall perl-MouseX-ConfigFromFile on Fedora 36

To uninstall only the perl-MouseX-ConfigFromFile package we can use the following command:

sudo dnf remove perl-MouseX-ConfigFromFile

perl-MouseX-ConfigFromFile Package Contents on Fedora 36

/usr/share/doc/perl-MouseX-ConfigFromFile
/usr/share/doc/perl-MouseX-ConfigFromFile/Changes
/usr/share/doc/perl-MouseX-ConfigFromFile/README
/usr/share/man/man3/MouseX::ConfigFromFile.3pm.gz
/usr/share/perl5/vendor_perl/MouseX
/usr/share/perl5/vendor_perl/MouseX/ConfigFromFile.pm

References

Summary

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