Namespace-autoclean
Namespace-autoclean
https://metacpan.org/release/namespace-autoclean
module to remove imported symbols after compilation
namespace::autoclean is a Perl pragma that keeps 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.
This module differs from namespace::clean (see libnamespace- clean-perl) in that it cleans all imported functions, whether or not the imports happened prior to using the pragma. Things that "look" like a method (according to Class::MOP) will be left alone.
Download
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: Salvatore Bonaccorso <carnil@debian.org>
Verified on
9 September 2014
Notes
License: artistic or gpl-1+
Leaders and contributors
Contact(s) | Role |
---|---|
Florian Ragwitz | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Perl (Ref) | https://metacpan.org/release/namespace-autoclean | |
Debian (Ref) (R) | https://tracker.debian.org/pkg/libnamespace-autoclean-perl |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.