BSD Ports

devel/p5-namespace-sweep 0.006_1 DragonFly

Sweep up imported subs in your classes

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel, perl5
Package size
6.2 KiB, 9.3 KiB installed

Description

Because Perl methods are just regular subroutines, it's difficult to tell what's a method and what's just an imported function. As a result, imported functions can be called as methods on your objects. This pragma will delete imported functions from your class's symbol table, thereby ensuring that your interface is as you specified it. However, code inside your module will still be able to use the imported functions without any problems.

In the other systems

The newest version among them is 0.006, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-namespace-sweep0.006_1 newestnone known-[email protected]-
FreeBSDdevel/p5-namespace-sweep0.006_1 newestnone known-[email protected]-
HardenedBSDdevel/p5-namespace-sweep0.006_1 newestno data-[email protected]-
GhostBSDdevel/p5-namespace-sweep0.006_1 newestno data-[email protected]-

Install

Binary package:

pkg install p5-namespace-sweep

From DPorts:

cd /usr/dports/devel/p5-namespace-sweep && make install clean

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 5

No port depends on this one.