devel/p5-namespace-clean 0.27nb10 NetBSD
Perl module to keep imports and functions 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
- 11.3 KiB, 25.2 KiB installed
Description
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.
In the other systems
The newest version among them is 0.27, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | devel/p5-namespace-clean | 0.27nb10 newest | none known | - | [email protected] | 2026-07-16 |
| FreeBSD | devel/p5-namespace-clean | 0.27 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-namespace-clean | 0.27p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| DragonFly | devel/p5-namespace-clean | 0.27 newest | none known | - | [email protected] | - |
| MidnightBSD | devel/p5-namespace-clean | 0.27_1 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-namespace-clean | 0.27 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-namespace-clean | 0.27 newest | no data | - | [email protected] | - |
| OPNsense | devel/p5-namespace-clean | 0.27 newest | no data | - | [email protected] | - |
Install
Binary package:
pkgin install p5-namespace-clean
From pkgsrc:
cd /usr/pkgsrc/devel/p5-namespace-clean && 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.27nb10 |
| NetBSD 10.1 aarch64 | 0.27nb10 |
| SmartOS / illumos x86_64 | 0.27nb10 |
| macOS 15 arm64 | 0.27nb10 |
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 4
Required by 49
- databases/p5-Catalyst-Model-DBIC-Schema
- databases/p5-DBIx-Class
- databases/p5-DBIx-Class-Candy
- databases/p5-DBIx-Class-Helpers
- databases/p5-DBIx-Class-Schema-Loader
- devel/p5-AnyEvent-RabbitMQ
- devel/p5-Carp-REPL
- devel/p5-Data-Visitor
- devel/p5-Devel-PartialDump
- devel/p5-Devel-REPL
- devel/p5-MooX-File-ConfigDir
- devel/p5-MooseX-App-Cmd
- devel/p5-MooseX-Declare
- devel/p5-MooseX-Emulate-Class-Accessor-Fast
- devel/p5-MooseX-InsideOut
- devel/p5-MooseX-Method-Signatures
- devel/p5-MooseX-MethodAttributes
- devel/p5-MooseX-Role-WithOverloading
- devel/p5-MooseX-Types
- devel/p5-MooseX-Types-LoadableClass
- devel/p5-Parse-Method-Signatures
- devel/p5-Role-HasMessage
- devel/p5-Search-Elasticsearch
- devel/p5-Test-CleanNamespaces
- devel/p5-Test-Kwalitee
- devel/p5-Test-TempDir
- devel/p5-namespace-autoclean
- devel/p5-syntax
- geography/p5-GIS-Distance
- geography/p5-Geo-Distance
- mail/p5-Mail-Qmail-Filter
- net/p5-Data-Stream-Bulk
- net/p5-GeoIP2
- textproc/p5-String-ToIdentifier-EN
- time/p5-MooseX-Types-DateTime
- time/p5-MooseX-Types-DateTime-ButMaintained
- time/p5-MooseX-Types-DateTime-MoreCoercions
- time/p5-MooseX-Types-DateTimeX
- wip/p5-Selenium-Remote-Driver
- www/p5-Catalyst-Devel
- www/p5-Catalyst-Plugin-Session
- www/p5-Catalyst-Plugin-Session-Store-Delegate
- www/p5-CatalystX-LeakChecker
- www/p5-HTML-Restrict
- www/p5-Reaction
- www/p5-Session-Storage-Secure
- www/p5-Test-LWP-UserAgent
- www/p5-Test-WWW-Mechanize-Catalyst
- www/p5-WWW-Mechanize-Cached