devel/p5-Sub-Delete 1.00002_1 DragonFly
Perl module enabling one to delete subroutines
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 7.4 KiB, 12.6 KiB installed
Description
This module provides one function, delete_sub, that deletes the subroutine whose name is passed to it. (To load the module without importing the function, write use Sub::Delete();.)
This does more than simply undefine the subroutine in the manner of undef &foo, which leaves a stub that can trigger AUTOLOAD (and, consequently, won't work for deleting methods). The subroutine is completely obliterated from the symbol table (though there may be references to it elsewhere, including in compiled code).
In the other systems
The newest version among them is 1.00003, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Sub-Delete | 1.00002_1 | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Sub-Delete | 1.00003 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Sub-Delete | 1.00003 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Sub-Delete | 1.00003 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Sub-Delete
From DPorts:
cd /usr/dports/devel/p5-Sub-Delete && 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.