Sweep up imported subs in your classes
Because Perl methods are just regular subroutines, it's difficult to tell what's a method and what's just an imported function. As a result, imported functions can be called as methods on your objects. This pragma will delete imported functions from your class's symbol table, thereby ensuring that your interface is as you specified it. However, code inside your module will still be able to use the imported functions without any problems.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.006-23.fc40 | - |
Fedora 40 | 0.006-23.fc40 | - |
Fedora 39 | 0.006-21.fc39 | - |
Fedora 38 | 0.006-20.fc38 | - |
EPEL 9 | 0.006-16.el9 | - |
EPEL 8 | 0.006-10.el8 | - |
You can contact the maintainers of this package via email at
perl-namespace-sweep dash maintainers at fedoraproject dot org
.