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 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. WWW: http://search.cpan.org/dist/Object-Destroyer/ PR: ports/152276 Submitted by: Gea-Suan Lin <gslin at gslin.org>
21 lines
416 B
Makefile
21 lines
416 B
Makefile
# New ports collection makefile for: p5-Object-Destroyer
|
|
# Date created: 2010-11-16
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Object-Destroyer
|
|
PORTVERSION= 2.00
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= gslin@gslin.org
|
|
COMMENT= Make objects with circular references DESTROY normally
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Object::Destroyer.3
|
|
|
|
.include <bsd.port.mk>
|