devel/p5-namespace-clean - The NetBSD Packages Collection

Perl module to keep imports and functions out of your namespace

Keeping packages clean

When you define a function, or import one, into a Perl package, it will
naturally also be available as a method. This does not per se cause
problems, but it can complicate subclassing and, for example, plugin
classes that are included via multiple inheritance by loading them as
base classes.

The "namespace::clean" pragma will remove all previously declared or
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.

Build dependencies

pkgtools/cwrappers

Runtime dependencies

devel/p5-B-Hooks-EndOfScope devel/p5-Package-Stash devel/p5-Module-Implementation lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfp5-namespace-clean-0.27nb4.tgz
NetBSD 8.0earmv7hfp5-namespace-clean-0.27nb4.tgz
NetBSD 8.0earmv7hfp5-namespace-clean-0.27nb4.tgz
NetBSD 8.0i386p5-namespace-clean-0.27nb4.tgz
NetBSD 8.0i386p5-namespace-clean-0.27nb4.tgz
NetBSD 8.0i386p5-namespace-clean-0.27nb4.tgz
NetBSD 8.0powerpcp5-namespace-clean-0.27nb4.tgz
NetBSD 8.0powerpcp5-namespace-clean-0.27nb4.tgz
NetBSD 8.0powerpcp5-namespace-clean-0.27nb4.tgz
NetBSD 8.0x86_64p5-namespace-clean-0.27nb4.tgz
NetBSD 8.0x86_64p5-namespace-clean-0.27nb4.tgz
NetBSD 8.0x86_64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0aarch64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0aarch64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0aarch64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0alphap5-namespace-clean-0.27nb4.tgz
NetBSD 9.0alphap5-namespace-clean-0.27nb4.tgz
NetBSD 9.0alphap5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmv6hfp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmv6hfp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmv6hfp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmv6hfp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmv7hfp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmv7hfp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmv7hfp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0earmv7hfp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0i386p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0i386p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0i386p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0m68kp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0m68kp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0m68kp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0mips64ebp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0mips64ebp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0mips64ebp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0mipselp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0mipselp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0powerpcp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0powerpcp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0sh3elp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0sh3elp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0sh3elp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0sparc64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0sparc64p5-namespace-clean-0.27nb3.tgz
NetBSD 9.0sparc64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0sparc64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0sparcp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0sparcp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0sparcp5-namespace-clean-0.27nb4.tgz
NetBSD 9.0x86_64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0x86_64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0x86_64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0x86_64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0x86_64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0x86_64p5-namespace-clean-0.27nb4.tgz
NetBSD 9.0x86_64p5-namespace-clean-0.27nb4.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.