How To Install perl-Tie-ToObject on Fedora 36
Introduction
In this tutorial we learn how to install perl-Tie-ToObject
on Fedora 36.
What is perl-Tie-ToObject
While the perldoc/tie manpage allows tying to an arbitrary object, the class in question must support this in it’s implementation of ‘TIEHASH’, ‘TIEARRAY’ or whatever. This class provides a very tie constructor that simply returns the object it was given as it’s first argument. This way side effects of calling ‘$object->TIEHASH’ are avoided.
We can use yum
or dnf
to install perl-Tie-ToObject
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Tie-ToObject.
Install perl-Tie-ToObject 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-Tie-ToObject
using dnf
by running the following command:
sudo dnf -y install perl-Tie-ToObject
Install perl-Tie-ToObject 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-Tie-ToObject
using yum
by running the following command:
sudo yum -y install perl-Tie-ToObject
How To Uninstall perl-Tie-ToObject on Fedora 36
To uninstall only the perl-Tie-ToObject
package we can use the following command:
sudo dnf remove perl-Tie-ToObject
perl-Tie-ToObject Package Contents on Fedora 36
/usr/share/man/man3/Tie::ToObject.3pm.gz
/usr/share/perl5/vendor_perl/Tie
/usr/share/perl5/vendor_perl/Tie/ToObject.pm
References
Summary
In this tutorial we learn how to install perl-Tie-ToObject
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).