[ 源代码: libobject-destroyer-perl ]
软件包:libobject-destroyer-perl(2.02-2)
libobject-destroyer-perl 的相关链接
Debian 的资源:
下载源码包 libobject-destroyer-perl:
- [libobject-destroyer-perl_2.02-2.dsc]
- [libobject-destroyer-perl_2.02.orig.tar.gz]
- [libobject-destroyer-perl_2.02-2.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [metacpan.org]
相似软件包:
module to make objects with circular references DESTROY normally
Object::Destroyer allows for the creation of "Destroy" handles. The handle is "attached" to a 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.