Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-namespace-autoclean | Distribution: OpenMandriva Lx |
Version: 0.31 | Vendor: OpenMandriva |
Release: 1 | Build date: Sat Oct 26 22:03:20 2024 |
Group: Development/Perl | Build host: altra-6.openmandriva.org |
Size: 20321 | Source RPM: perl-namespace-autoclean-0.31-1.src.rpm |
Packager: bero <bero@lindev.ch> | |
Url: https://metacpan.org/release/namespace-autoclean | |
Summary: 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 pagma. It will also not touch anything that looks like a method, according to 'Class::MOP::Class::get_method_list'.
GPL+ or Artistic
/usr/share/doc/perl-namespace-autoclean /usr/share/doc/perl-namespace-autoclean/Changes /usr/share/doc/perl-namespace-autoclean/README /usr/share/man/man3/namespace::autoclean.3pm.zst /usr/share/perl5/vendor_perl/namespace /usr/share/perl5/vendor_perl/namespace/autoclean.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Feb 10 23:55:33 2025