FreeBSD.software
Home/devel/p5-Object-Destroyer

p5-Object-Destroyer

2.02

Make objects with circular references DESTROY normally

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.

Origin: devel/p5-Object-Destroyer
Category: devel
Size: 54.7KiB
License: ART10, GPLv1+
Maintainer: perl@FreeBSD.org
Dependencies: 1 packages
Required by: 1 packages
$pkg install p5-Object-Destroyer

Dependencies (1)

Required By (1 packages)

More in devel