BSD Ports

devel/p5-Object-Destroyer 2.02 FreeBSD

Make objects with circular references DESTROY normally

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
17.4 KiB, 54.7 KiB installed

Description

Object::Destroyer allows for the creation of "Destroy" handles. The handle is "attached" to the circular relationship, but is not a part of it. When the destroy handle falls out of scope, it will be cleaned up correctly, and while being cleaned up, it will also force the data structure it is attached to be destroyed as well. Object::Destroyer can call a specified release method on an object (or method DESTROY by default). Alternatively, it can execute an arbitrary user code passed to constructor as a code reference.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Object-Destroyer2.02
DragonFlydevel/p5-Object-Destroyer2.02
HardenedBSDdevel/p5-Object-Destroyer2.02
GhostBSDdevel/p5-Object-Destroyer2.02

Install

Binary package:

pkg install p5-Object-Destroyer

From the ports tree:

cd /usr/ports/devel/p5-Object-Destroyer/ && make install clean

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

RUN_DEPENDS=	p5-Object-Destroyer>0:devel/p5-Object-Destroyer

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:latest2.022.022.022.022.02
FreeBSD:14:quarterly2.022.02n/a2.022.02
FreeBSD:15:latest2.022.02n/a2.022.02
FreeBSD:15:quarterly2.022.02n/an/an/a
FreeBSD:16:latest2.022.02n/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
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Object::Destroyer.3.gz
  • %%SITE_PERL%%/Object/Destroyer.pm
distinfo 1
FileSizeSHA256
Object-Destroyer-2.02.tar.gz23164dc19d516d56e89873d1f74d2a029be8b143ccd3d408a7c1c2feeda9e09157d8a
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.