How To Install perl-Scalar-Does on Fedora 36
Introduction
In this tutorial we learn how to install perl-Scalar-Does
on Fedora 36.
What is perl-Scalar-Does
It has long been noted that Perl would benefit from a does() built-in. A check that ref($thing) eq ‘ARRAY’ doesn’t allow you to accept an object that uses overloading to provide an array-like interface. This package delivers Scalar
We can use yum
or dnf
to install perl-Scalar-Does
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Scalar-Does.
Install perl-Scalar-Does 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-Scalar-Does
using dnf
by running the following command:
sudo dnf -y install perl-Scalar-Does
Install perl-Scalar-Does 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-Scalar-Does
using yum
by running the following command:
sudo yum -y install perl-Scalar-Does
How To Uninstall perl-Scalar-Does on Fedora 36
To uninstall only the perl-Scalar-Does
package we can use the following command:
sudo dnf remove perl-Scalar-Does
perl-Scalar-Does Package Contents on Fedora 36
/usr/share/doc/perl-Scalar-Does
/usr/share/doc/perl-Scalar-Does/COPYRIGHT
/usr/share/doc/perl-Scalar-Does/CREDITS
/usr/share/doc/perl-Scalar-Does/Changes
/usr/share/doc/perl-Scalar-Does/IO-Detect-Changes.txt
/usr/share/doc/perl-Scalar-Does/NEWS
/usr/share/doc/perl-Scalar-Does/README
/usr/share/doc/perl-Scalar-Does/TODO
/usr/share/licenses/perl-Scalar-Does
/usr/share/licenses/perl-Scalar-Does/LICENSE
/usr/share/man/man3/IO::Detect.3pm.gz
/usr/share/man/man3/Scalar::Does.3pm.gz
/usr/share/man/man3/Scalar::Does::MooseTypes.3pm.gz
/usr/share/perl5/vendor_perl/IO
/usr/share/perl5/vendor_perl/IO/Detect.pm
/usr/share/perl5/vendor_perl/Scalar
/usr/share/perl5/vendor_perl/Scalar/Does
/usr/share/perl5/vendor_perl/Scalar/Does.pm
/usr/share/perl5/vendor_perl/Scalar/Does/MooseTypes.pm
References
Summary
In this tutorial we learn how to install perl-Scalar-Does
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).