How To Install perl-Hash-StoredIterator on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Hash-StoredIterator
on Rocky Linux 8.
What is perl-Hash-StoredIterator
In perl all hashes have an internal iterator. This iterator is used by the each() function, as well as by keys() and values(). Because these all share use of the same iterator, they tend to interact badly with each other when nested. Hash a hash. This allows you to store the current iterator, use each / keys / values etc., and then restore the iterator, which helps you to ensure you do not interact badly with other users of the iterator. Along with low-level get / set / init functions, there are also 2 variations of each() that let you act upon each key/value pair in a safer way than vanilla each(). This module can also export new implementations of keys() and values() that stash and restore the iterator so that they are safe to use within each().
We can use yum
or dnf
to install perl-Hash-StoredIterator
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Hash-StoredIterator.
Install perl-Hash-StoredIterator 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-StoredIterator
using dnf
by running the following command:
sudo dnf -y install perl-Hash-StoredIterator
Install perl-Hash-StoredIterator 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-StoredIterator
using yum
by running the following command:
sudo yum -y install perl-Hash-StoredIterator
How To Uninstall perl-Hash-StoredIterator on Rocky Linux 8
To uninstall only the perl-Hash-StoredIterator
package we can use the following command:
sudo dnf remove perl-Hash-StoredIterator
perl-Hash-StoredIterator Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/f6e7d772b8e8fdfb7d068088c3a2723ae94bd8
/usr/lib64/perl5/vendor_perl/Hash
/usr/lib64/perl5/vendor_perl/Hash/StoredIterator.pm
/usr/lib64/perl5/vendor_perl/auto/Hash
/usr/lib64/perl5/vendor_perl/auto/Hash/StoredIterator
/usr/lib64/perl5/vendor_perl/auto/Hash/StoredIterator/StoredIterator.so
/usr/share/doc/perl-Hash-StoredIterator
/usr/share/doc/perl-Hash-StoredIterator/Changes
/usr/share/doc/perl-Hash-StoredIterator/README
/usr/share/licenses/perl-Hash-StoredIterator
/usr/share/licenses/perl-Hash-StoredIterator/LICENSE
/usr/share/man/man3/Hash::StoredIterator.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Hash-StoredIterator
on Rocky Linux 8 using yum and dnf.