Package: libnamespace-autoclean-perl (0.09-1) [universe]
Links for libnamespace-autoclean-perl
Download Source Package libnamespace-autoclean-perl:
Original Maintainers (usually from Debian):
- Debian Perl Group (Mail Archive)
- Ryan Niebur
- Salvatore Bonaccorso
It should generally not be necessary for users to contact the original maintainer.
- Homepage [search.cpan.org]
Perl module to remove all imported symbols at the end of the compile cycle
namespace::autoclean is a handy module to keep your namespace clean by removing all imported symbols at the end of the current package's compile cycle. Perhaps most importantly, this means that imported functions will no longer be made accidentally accessible to users outside of your package via method invocations.
The way this is done at the end of the compile cycle but prior to execution means that functions will remain accessible for use inside your package, since function calls are resolved at compile time. For the most part, the only change that needs to be made is to load the module.
This module differs slightly from namespace::clean in that it cleans all imported functions, whether or not the imports happened prior to using the pragma. Things that "look" like a method will be left alone (Class::MOP is used for this feature).
Other Packages Related to libnamespace-autoclean-perl
- dep: libb-hooks-endofscope-perl (>= 0.07)
- module for executing code after a scope finished compilation
- dep: libclass-mop-perl (>= 0.80)
- Perl module implementing a Meta Object Protocol (MOP)
- dep: libnamespace-clean-perl (>= 0.11)
- module for keeping imports and functions out of the current namespace
- dep: perl
- Larry Wall's Practical Extraction and Report Language