BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-namespace-autoclean0.31nb3 newestnone known-[email protected]2026-07-16
FreeBSDdevel/p5-namespace-autoclean0.31 newestnone known-[email protected]-
OpenBSDdevel/p5-namespace-autoclean0.31 newestno data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlydevel/p5-namespace-autoclean0.31 newestnone known-[email protected]-
MidnightBSDdevel/p5-namespace-autoclean0.31_1 newestno data-[email protected]-
HardenedBSDdevel/p5-namespace-autoclean0.31 newestno data-[email protected]-
GhostBSDdevel/p5-namespace-autoclean0.31 newestno data-[email protected]-
OPNsensedevel/p5-namespace-autoclean0.31 newestno data-[email protected]-

Compare across BSDs

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.

RepositoryVersion
NetBSD 10.1 x86_640.31nb3
NetBSD 10.1 aarch640.31nb3
SmartOS / illumos x86_640.31nb3
macOS 15 arm640.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

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0