devel/p5-Object-Destroyer 2.02 DragonFly
Make objects with circular references DESTROY normally
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 17.0 KiB, 55.0 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
The newest version among them is 2.02, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Object-Destroyer | 2.02 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Object-Destroyer | 2.02 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Object-Destroyer | 2.02 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Object-Destroyer | 2.02 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Object-Destroyer
From DPorts:
cd /usr/dports/devel/p5-Object-Destroyer && make install clean