How To Install perl-namespace-clean on Fedora 36
Introduction
In this tutorial we learn how to install perl-namespace-clean
on Fedora 36.
What is perl-namespace-clean
When you define a function, or import one, into a Perl package, it will naturally also be available as a method. This does not per se cause problems, but it can complicate subclassing and, for example, plugin classes that are included via multiple inheritance by loading them as base classes. 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.
We can use yum
or dnf
to install perl-namespace-clean
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-namespace-clean.
Install perl-namespace-clean 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-clean
using dnf
by running the following command:
sudo dnf -y install perl-namespace-clean
Install perl-namespace-clean 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-clean
using yum
by running the following command:
sudo yum -y install perl-namespace-clean
How To Uninstall perl-namespace-clean on Fedora 36
To uninstall only the perl-namespace-clean
package we can use the following command:
sudo dnf remove perl-namespace-clean
perl-namespace-clean Package Contents on Fedora 36
/usr/share/doc/perl-namespace-clean
/usr/share/doc/perl-namespace-clean/Changes
/usr/share/doc/perl-namespace-clean/t
/usr/share/doc/perl-namespace-clean/t/00-basic.t
/usr/share/doc/perl-namespace-clean/t/01-function-wipeout.t
/usr/share/doc/perl-namespace-clean/t/02-inheritance.t
/usr/share/doc/perl-namespace-clean/t/03-unimport.t
/usr/share/doc/perl-namespace-clean/t/04-except.t
/usr/share/doc/perl-namespace-clean/t/05-explicit-cleanee.t
/usr/share/doc/perl-namespace-clean/t/05-syntax-error.t
/usr/share/doc/perl-namespace-clean/t/06-other-types.t
/usr/share/doc/perl-namespace-clean/t/07-debugger.t
/usr/share/doc/perl-namespace-clean/t/07-pseudo-debugger.t
/usr/share/doc/perl-namespace-clean/t/08-const-sub.t
/usr/share/doc/perl-namespace-clean/t/09-fiddle-hinthash.t
/usr/share/doc/perl-namespace-clean/t/10-pure-perl.t
/usr/share/doc/perl-namespace-clean/t/11-multiclean-in-scope.t
/usr/share/doc/perl-namespace-clean/t/lib
/usr/share/doc/perl-namespace-clean/t/lib/CleaneeBridge.pm
/usr/share/doc/perl-namespace-clean/t/lib/CleaneeBridgeDirect.pm
/usr/share/doc/perl-namespace-clean/t/lib/CleaneeBridgeExplicit.pm
/usr/share/doc/perl-namespace-clean/t/lib/CleaneeTarget.pm
/usr/share/doc/perl-namespace-clean/t/lib/Devel
/usr/share/doc/perl-namespace-clean/t/lib/Devel/_NC_TEST_DashD.pm
/usr/share/doc/perl-namespace-clean/t/lib/ExporterTest.pm
/usr/share/doc/perl-namespace-clean/t/lib/FunctionWipeout.pm
/usr/share/doc/perl-namespace-clean/t/lib/Inheritance.pm
/usr/share/doc/perl-namespace-clean/t/lib/OtherTypes.pm
/usr/share/doc/perl-namespace-clean/t/lib/SyntaxError.pm
/usr/share/doc/perl-namespace-clean/t/lib/Unimport.pm
/usr/share/man/man3/namespace::clean.3pm.gz
/usr/share/perl5/vendor_perl/namespace
/usr/share/perl5/vendor_perl/namespace/clean
/usr/share/perl5/vendor_perl/namespace/clean.pm
/usr/share/perl5/vendor_perl/namespace/clean/_Util.pm
References
Summary
In this tutorial we learn how to install perl-namespace-clean
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).