How To Install perl-Hash-Merge-Simple on Rocky Linux 8

In this tutorial we learn how to install perl-Hash-Merge-Simple on Rocky Linux 8. perl-Hash-Merge-Simple is Recursively merge two or more hashes, simply

Introduction

In this tutorial we learn how to install perl-Hash-Merge-Simple on Rocky Linux 8.

What is perl-Hash-Merge-Simple

Hash the result as a new hash reference. The merge function will descend and merge hashes that exist under the same node in both the left and right hash, but doesn’t attempt to combine arrays, objects, scalars, or anything else. The rightmost hash also takes precedence, replacing whatever was in the left hash if a conflict occurs. This code was pretty much taken straight from Catalyst than 2 hashes at the same time.

We can use yum or dnf to install perl-Hash-Merge-Simple on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Hash-Merge-Simple.

Install perl-Hash-Merge-Simple on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Hash-Merge-Simple using dnf by running the following command:

sudo dnf -y install perl-Hash-Merge-Simple

Install perl-Hash-Merge-Simple on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Hash-Merge-Simple using yum by running the following command:

sudo yum -y install perl-Hash-Merge-Simple

How To Uninstall perl-Hash-Merge-Simple on Rocky Linux 8

To uninstall only the perl-Hash-Merge-Simple package we can use the following command:

sudo dnf remove perl-Hash-Merge-Simple

perl-Hash-Merge-Simple Package Contents on Rocky Linux 8

/usr/share/doc/perl-Hash-Merge-Simple
/usr/share/doc/perl-Hash-Merge-Simple/Changes
/usr/share/doc/perl-Hash-Merge-Simple/README
/usr/share/man/man3/Hash::Merge::Simple.3pm.gz
/usr/share/perl5/vendor_perl/Hash
/usr/share/perl5/vendor_perl/Hash/Merge
/usr/share/perl5/vendor_perl/Hash/Merge/Simple.pm

References

Summary

In this tutorial we learn how to install perl-Hash-Merge-Simple on Rocky Linux 8 using yum and dnf.