Keep imports out of your namespace
When you import a function into a Perl package, it will naturally also be available as a method. The 'namespace::autoclean' pragma will remove all 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::clean, except it will clean all imported functions, no matter if you imported them before or after you 'use'd the pragma. It will also not touch anything that looks like a method.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.29-18.fc40 | - |
Fedora 40 | 0.29-18.fc40 | - |
Fedora 39 | 0.29-16.fc39 | - |
Fedora 38 | 0.29-14.fc38 | - |
EPEL 7 | 0.19-1.el7 | - |
You can contact the maintainers of this package via email at
perl-namespace-autoclean dash maintainers at fedoraproject dot org
.