How To Install perl-match-simple on Fedora 36

In this tutorial we learn how to install perl-match-simple in Fedora 36. perl-match-simple is Simplified clone of smartmatch operator

Introduction

In this tutorial we learn how to install perl-match-simple on Fedora 36.

What is perl-match-simple

match subset of the (as of Perl 5.18) deprecated smart match operator. Unlike smart match, the behaviour of the match is determined entirely by the operand on the right hand side.

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

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

sudo dnf -y install perl-match-simple

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

sudo yum -y install perl-match-simple

How To Uninstall perl-match-simple on Fedora 36

To uninstall only the perl-match-simple package we can use the following command:

sudo dnf remove perl-match-simple

perl-match-simple Package Contents on Fedora 36

/usr/share/doc/perl-match-simple
/usr/share/doc/perl-match-simple/COPYRIGHT
/usr/share/doc/perl-match-simple/CREDITS
/usr/share/doc/perl-match-simple/Changes
/usr/share/doc/perl-match-simple/README
/usr/share/licenses/perl-match-simple
/usr/share/licenses/perl-match-simple/LICENSE
/usr/share/man/man3/match::simple.3pm.gz
/usr/share/man/man3/match::smart.3pm.gz
/usr/share/perl5/vendor_perl/match
/usr/share/perl5/vendor_perl/match/simple.pm
/usr/share/perl5/vendor_perl/match/smart.pm

References

Summary

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