BSD Ports

devel/p5-namespace-autoclean 0.31 FreeBSD

Keep imports out of your namespace

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
10.9 KiB, 22.3 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 pragma. 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
FreeBSDdevel/p5-namespace-autoclean0.31 newestnone known-[email protected]-
OpenBSDdevel/p5-namespace-autoclean0.31 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-namespace-autoclean0.31nb3 newestnone known-[email protected]2026-07-16
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:

pkg install p5-namespace-autoclean

From the ports tree:

cd /usr/ports/devel/p5-namespace-autoclean/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-namespace-autoclean>0:devel/p5-namespace-autoclean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.310.310.290.310.31
FreeBSD:14:quarterly0.310.31n/a0.310.31
FreeBSD:15:latest0.310.31n/a0.310.31
FreeBSD:15:quarterly0.310.31n/an/an/a
FreeBSD:16:latest0.310.31n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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

As this port's Makefile names them.

Build 3

Runtime 3

Test 6

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 16
Required by 557

The first 100 are listed.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/namespace/autoclean.pm
  • %%PERL5_MAN3%%/namespace::autoclean.3.gz
distinfo 1
FileSizeSHA256
namespace-autoclean-0.31.tar.gz39548d3b32c82e1d2caa9d58b8c8075965240e6cab66ab9350bd6f6bea4ca07e938d6
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.