How To Install perl-namespace-autoclean on Fedora 36

In this tutorial we learn how to install perl-namespace-autoclean in Fedora 36. perl-namespace-autoclean is Keep imports out of your namespace

Introduction

In this tutorial we learn how to install perl-namespace-autoclean on Fedora 36.

What is perl-namespace-autoclean

When you import a function into a Perl package, it will naturally also be available as a method. The ’namespace imported symbols at the end of the current package’s compile cycle. Functions called in the package itself will still be bound by their name, but they won’t show up as methods on your class or instances. This module is very similar to namespace imported them before or after you ‘use’d the pragma. It will also not touch anything that looks like a method.

We can use yum or dnf to install perl-namespace-autoclean on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-namespace-autoclean.

Install perl-namespace-autoclean 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-namespace-autoclean using dnf by running the following command:

sudo dnf -y install perl-namespace-autoclean

Install perl-namespace-autoclean 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-namespace-autoclean using yum by running the following command:

sudo yum -y install perl-namespace-autoclean

How To Uninstall perl-namespace-autoclean on Fedora 36

To uninstall only the perl-namespace-autoclean package we can use the following command:

sudo dnf remove perl-namespace-autoclean

perl-namespace-autoclean Package Contents on Fedora 36

/usr/share/doc/perl-namespace-autoclean
/usr/share/doc/perl-namespace-autoclean/CONTRIBUTING
/usr/share/doc/perl-namespace-autoclean/Changes
/usr/share/doc/perl-namespace-autoclean/README
/usr/share/licenses/perl-namespace-autoclean
/usr/share/licenses/perl-namespace-autoclean/LICENCE
/usr/share/man/man3/namespace::autoclean.3pm.gz
/usr/share/perl5/vendor_perl/namespace
/usr/share/perl5/vendor_perl/namespace/autoclean.pm

References

Summary

In this tutorial we learn how to install perl-namespace-autoclean on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).