devel/p5-namespace-autoclean 0.31nb3 NetBSD
Keep imports out of your namespace
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 8.8 KiB, 20.0 KiB installed
Description
When you import a function into a Perl package, it will naturally also be available as a method. The namespace::autoclean pragma will remove all 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. This module is very similar to namespace::clean, except it will clean all imported functions, no matter if you imported them before or after you used the pagma. It will also not touch anything that looks like a method, according to Class::MOP::Class::get_method_list.
In the other systems
The newest version among them is 0.31, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | devel/p5-namespace-autoclean | 0.31nb3 newest | none known | - | [email protected] | 2026-07-16 |
| FreeBSD | devel/p5-namespace-autoclean | 0.31 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-namespace-autoclean | 0.31 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| DragonFly | devel/p5-namespace-autoclean | 0.31 newest | none known | - | [email protected] | - |
| MidnightBSD | devel/p5-namespace-autoclean | 0.31_1 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-namespace-autoclean | 0.31 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-namespace-autoclean | 0.31 newest | no data | - | [email protected] | - |
| OPNsense | devel/p5-namespace-autoclean | 0.31 newest | no data | - | [email protected] | - |
Install
Binary package:
pkgin install p5-namespace-autoclean
From pkgsrc:
cd /usr/pkgsrc/devel/p5-namespace-autoclean && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.31nb3 |
| NetBSD 10.1 aarch64 | 0.31nb3 |
| SmartOS / illumos x86_64 | 0.31nb3 |
| macOS 15 arm64 | 0.31nb3 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 3
Required by 50
- databases/p5-App-Sqitch
- databases/p5-Catalyst-Model-DBIC-Schema
- devel/p5-Dist-Zilla
- devel/p5-File-ChangeNotify
- devel/p5-Log-Dispatch
- devel/p5-Moose
- devel/p5-MooseX-ClassAttribute
- devel/p5-MooseX-ConfigFromFile
- devel/p5-MooseX-Declare
- devel/p5-MooseX-Getopt
- devel/p5-MooseX-LazyRequire
- devel/p5-MooseX-MarkAsMethods
- devel/p5-MooseX-Meta-TypeConstraint-ForceCoercion
- devel/p5-MooseX-OneArgNew
- devel/p5-MooseX-Role-WithOverloading
- devel/p5-MooseX-Traits
- devel/p5-MooseX-Traits-Pluggable
- devel/p5-MooseX-Types
- devel/p5-Perl-PrereqScanner
- devel/rt5
- net/p5-MaxMind-DB-Common
- net/p5-MaxMind-DB-Reader
- net/p5-MaxMind-DB-Writer
- net/p5-Net-CIDR-Set
- net/p5-Net-Twitter
- net/p5-Net-Works
- net/p5-Zabbix-Sender
- security/p5-Crypt-PBKDF2
- security/p5-Data-Password-passwdqc
- textproc/p5-Dist-Zilla-Plugin-PodWeaver
- textproc/p5-Pod-Elemental
- textproc/p5-Pod-Elemental-PerlMunger
- textproc/p5-Pod-Readme
- textproc/p5-Pod-Weaver
- textproc/p5-XML-Rabbit
- time/p5-DateTime
- time/p5-DateTime-Locale
- time/p5-DateTime-TimeZone
- wip/p5-Catalyst-View-XML-Feed
- www/p5-Catalyst-Action-REST
- www/p5-Catalyst-Authentication-Store-DBIx-Class
- www/p5-Catalyst-Controller-HTML-FormFu
- www/p5-Catalyst-Devel
- www/p5-Catalyst-Plugin-Authorization-ACL
- www/p5-Catalyst-Plugin-Session-State-Cookie
- www/p5-Catalyst-Plugin-Static-Simple
- www/p5-Catalyst-Runtime
- www/p5-CatalystX-Component-Traits
- www/p5-CatalystX-LeakChecker
- www/p5-POE-Component-Server-PSGI