How To Install perl-MooseX-Role-Matcher on Fedora 36

In this tutorial we learn how to install perl-MooseX-Role-Matcher in Fedora 36. perl-MooseX-Role-Matcher is Generic object matching based on attributes and methods

Introduction

In this tutorial we learn how to install perl-MooseX-Role-Matcher on Fedora 36.

What is perl-MooseX-Role-Matcher

This role adds flexible matching and searching capabilities to your Moose class. It provides a match method, which tests attributes and methods of your object against strings, regexes, or coderefs, and also provides several class methods for using match on lists of objects.

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

Install perl-MooseX-Role-Matcher 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-MooseX-Role-Matcher using dnf by running the following command:

sudo dnf -y install perl-MooseX-Role-Matcher

Install perl-MooseX-Role-Matcher 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-MooseX-Role-Matcher using yum by running the following command:

sudo yum -y install perl-MooseX-Role-Matcher

How To Uninstall perl-MooseX-Role-Matcher on Fedora 36

To uninstall only the perl-MooseX-Role-Matcher package we can use the following command:

sudo dnf remove perl-MooseX-Role-Matcher

perl-MooseX-Role-Matcher Package Contents on Fedora 36

/usr/share/doc/perl-MooseX-Role-Matcher
/usr/share/doc/perl-MooseX-Role-Matcher/LICENSE
/usr/share/doc/perl-MooseX-Role-Matcher/README
/usr/share/man/man3/MooseX::Role::Matcher.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/Role
/usr/share/perl5/vendor_perl/MooseX/Role/Matcher.pm

References

Summary

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