{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":["devel/p5-B-Hooks-EndOfScope","devel/p5-Package-Stash"],"categories":["devel","perl5"],"comment":"Keep imports and functions out of your namespace","compare":"/compare/p5-namespace-clean/index.json","dependentCount":null,"description":"When you define a function, or import one, into a Perl package, it will\nnaturally also be available as a method. This does not per se cause\nproblems, but it can complicate subclassing and, for example, plugin\nclasses that are included via multiple inheritance by loading them as\nbase classes.\n\nThe \"namespace::clean\" pragma will remove all previously declared or\nimported symbols at the end of the current package's compile cycle.\nFunctions called in the package itself will still be bound by their\nname, but they won't show up as methods on your class or instances.","flavors":[],"html":"https://daemonports.org/midnightbsd/devel/p5-namespace-clean/","kind":"port","lastUpdate":null,"license":["artistic","gpl+"],"maintainer":"ports@MidnightBSD.org","name":"p5-namespace-clean","newest":true,"newestVersion":"0.27","noVulnData":true,"origin":"devel/p5-namespace-clean","otherSystems":[{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"devel/p5-namespace-clean","path":"/devel/p5-namespace-clean/","system":"FreeBSD","version":"0.27"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/p5-namespace-clean","path":"/openbsd/devel/p5-namespace-clean/","system":"OpenBSD","version":"0.27p0"},{"maintainer":"pkgsrc-users@NetBSD.org","newest":true,"origin":"devel/p5-namespace-clean","path":"/netbsd/devel/p5-namespace-clean/","system":"NetBSD","updated":"2026-07-16","version":"0.27nb10"},{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"devel/p5-namespace-clean","path":"/dragonfly/devel/p5-namespace-clean/","system":"DragonFly","version":"0.27"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-namespace-clean","path":"","system":"HardenedBSD","version":"0.27"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-namespace-clean","path":"","system":"GhostBSD","version":"0.27"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-namespace-clean","path":"","system":"OPNsense","version":"0.27"}],"packages":null,"pkgName":"p5-namespace-clean-0.27_1","related":null,"repository":"mports","requiredBy":["databases/p5-DBIx-Class","devel/p5-Devel-PartialDump","devel/p5-MooseX-Declare","devel/p5-MooseX-Method-Signatures","devel/p5-MooseX-Role-Parameterized","devel/p5-MooseX-Types","devel/p5-MooseX-Types-LoadableClass","devel/p5-MooseX-Types-Structured","devel/p5-Parse-Method-Signatures","devel/p5-Sub-Exporter-Lexical","devel/p5-namespace-autoclean","net/p5-GeoIP2","www/p5-WWW-Mechanize-Cached"],"requiredByCount":13,"runDepends":["devel/p5-B-Hooks-EndOfScope","devel/p5-Package-Stash"],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"0.27_1","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/namespace-clean"}
