How To Install perl-autodie on Fedora 36
Introduction
In this tutorial we learn how to install perl-autodie
on Fedora 36.
What is perl-autodie
The “autodie” and “Fatal” pragma provides a convenient way to replace functions that normally return false on failure with equivalents that throw an exception on failure. However “Fatal” has been obsoleted by the new autodie pragma. Please use autodie in preference to “Fatal”.
We can use yum
or dnf
to install perl-autodie
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-autodie.
Install perl-autodie 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-autodie
using dnf
by running the following command:
sudo dnf -y install perl-autodie
Install perl-autodie 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-autodie
using yum
by running the following command:
sudo yum -y install perl-autodie
How To Uninstall perl-autodie on Fedora 36
To uninstall only the perl-autodie
package we can use the following command:
sudo dnf remove perl-autodie
perl-autodie Package Contents on Fedora 36
/usr/share/doc/perl-autodie
/usr/share/doc/perl-autodie/AUTHORS
/usr/share/doc/perl-autodie/Changes
/usr/share/doc/perl-autodie/README.md
/usr/share/licenses/perl-autodie
/usr/share/licenses/perl-autodie/LICENSE
/usr/share/man/man3/Fatal.3pm.gz
/usr/share/man/man3/autodie.3pm.gz
/usr/share/man/man3/autodie::Scope::Guard.3pm.gz
/usr/share/man/man3/autodie::Scope::GuardStack.3pm.gz
/usr/share/man/man3/autodie::Util.3pm.gz
/usr/share/man/man3/autodie::exception.3pm.gz
/usr/share/man/man3/autodie::exception::system.3pm.gz
/usr/share/man/man3/autodie::hints.3pm.gz
/usr/share/man/man3/autodie::skip.3pm.gz
/usr/share/perl5/vendor_perl/Fatal.pm
/usr/share/perl5/vendor_perl/autodie
/usr/share/perl5/vendor_perl/autodie.pm
/usr/share/perl5/vendor_perl/autodie/Scope
/usr/share/perl5/vendor_perl/autodie/Scope/Guard.pm
/usr/share/perl5/vendor_perl/autodie/Scope/GuardStack.pm
/usr/share/perl5/vendor_perl/autodie/Util.pm
/usr/share/perl5/vendor_perl/autodie/exception
/usr/share/perl5/vendor_perl/autodie/exception.pm
/usr/share/perl5/vendor_perl/autodie/exception/system.pm
/usr/share/perl5/vendor_perl/autodie/hints.pm
/usr/share/perl5/vendor_perl/autodie/skip.pm
References
Summary
In this tutorial we learn how to install perl-autodie
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).