devel/p5-Sub-Delete 1.00003 FreeBSD
Perl module enabling one to delete subroutines
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 8.0 KiB, 12.4 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Sub-Delete | 1.00003 |
| DragonFly | devel/p5-Sub-Delete | 1.00002_1 |
| HardenedBSD | devel/p5-Sub-Delete | 1.00003 |
| GhostBSD | devel/p5-Sub-Delete | 1.00003 |
Install
Binary package:
pkg install p5-Sub-Delete
From the ports tree:
cd /usr/ports/devel/p5-Sub-Delete/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Sub-Delete>0:devel/p5-Sub-Delete
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.00003 | 1.00003 | 1.00002_1 | 1.00003 | 1.00003 |
| FreeBSD:14:quarterly | 1.00003 | 1.00003 | n/a | 1.00002_1 | 1.00003 |
| FreeBSD:15:latest | 1.00003 | 1.00003 | n/a | 1.00003 | 1.00003 |
| FreeBSD:15:quarterly | 1.00003 | 1.00003 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.00003 | 1.00003 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Sub::Delete.3.gz
- %%SITE_PERL%%/Sub/Delete.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Sub-Delete-1.00003.tar.gz | 32133 | 296a0036c5610faeaeb2c1545c89e9994150e8c889fa2eac79fe1ba4dc2d128a |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.