libnamespace-autoclean-perl

module to remove imported symbols after compilation

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/namespace-autoclean


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libnamespace-autoclean-perl