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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Object-Destroyer | 2.02 |
| DragonFly | devel/p5-Object-Destroyer | 2.02 |
| HardenedBSD | devel/p5-Object-Destroyer | 2.02 |
| GhostBSD | devel/p5-Object-Destroyer | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.02 | 2.02 | 2.02 | 2.02 | 2.02 |
| FreeBSD:14:quarterly | 2.02 | 2.02 | n/a | 2.02 | 2.02 |
| FreeBSD:15:latest | 2.02 | 2.02 | n/a | 2.02 | 2.02 |
| FreeBSD:15:quarterly | 2.02 | 2.02 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.02 | 2.02 | 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
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
| File | Size | SHA256 |
|---|---|---|
| Object-Destroyer-2.02.tar.gz | 23164 | dc19d516d56e89873d1f74d2a029be8b143ccd3d408a7c1c2feeda9e09157d8a |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.