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/mktools 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 10.0aarch64p5-namespace-clean-0.27nb7.tgz
NetBSD 10.0aarch64p5-namespace-clean-0.27nb7.tgz
NetBSD 10.0aarch64ebp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0aarch64ebp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0alphap5-namespace-clean-0.27nb7.tgz
NetBSD 10.0alphap5-namespace-clean-0.27nb7.tgz
NetBSD 10.0earmv4p5-namespace-clean-0.27nb7.tgz
NetBSD 10.0earmv4p5-namespace-clean-0.27nb7.tgz
NetBSD 10.0earmv6hfp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0earmv6hfp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0earmv7hfp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0earmv7hfp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0i386p5-namespace-clean-0.27nb7.tgz
NetBSD 10.0i386p5-namespace-clean-0.27nb7.tgz
NetBSD 10.0m68kp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0m68kp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0m68kp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0m68kp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0mips64ebp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0mips64ebp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0powerpcp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0powerpcp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0powerpcp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0powerpcp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0sh3elp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0sh3elp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0sparc64p5-namespace-clean-0.27nb7.tgz
NetBSD 10.0sparc64p5-namespace-clean-0.27nb7.tgz
NetBSD 10.0sparcp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0sparcp5-namespace-clean-0.27nb7.tgz
NetBSD 10.0x86_64p5-namespace-clean-0.27nb7.tgz
NetBSD 10.0x86_64p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0aarch64p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0alphap5-namespace-clean-0.27nb7.tgz
NetBSD 9.0alphap5-namespace-clean-0.27nb7.tgz
NetBSD 9.0earmv4p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0earmv4p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0earmv4p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0earmv6hfp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0earmv6hfp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0earmv6hfp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0earmv7hfp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0earmv7hfp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0i386p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0i386p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0m68kp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0m68kp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0m68kp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0m68kp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0powerpcp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0powerpcp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0powerpcp5-namespace-clean-0.27nb7.tgz
NetBSD 9.0sparc64p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0sparc64p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0x86_64p5-namespace-clean-0.27nb7.tgz
NetBSD 9.0x86_64p5-namespace-clean-0.27nb7.tgz
NetBSD 9.3x86_64p5-namespace-clean-0.27nb7.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.