BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Sub-Delete1.00003
DragonFlydevel/p5-Sub-Delete1.00002_1
HardenedBSDdevel/p5-Sub-Delete1.00003
GhostBSDdevel/p5-Sub-Delete1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.000031.000031.00002_11.000031.00003
FreeBSD:14:quarterly1.000031.00003n/a1.00002_11.00003
FreeBSD:15:latest1.000031.00003n/a1.000031.00003
FreeBSD:15:quarterly1.000031.00003n/an/an/a
FreeBSD:16:latest1.000031.00003n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
Sub-Delete-1.00003.tar.gz32133296a0036c5610faeaeb2c1545c89e9994150e8c889fa2eac79fe1ba4dc2d128a
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.