1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

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 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>
This commit is contained in:
Philip M. Gollucci 2010-11-24 05:31:08 +00:00
parent b74de8c1dd
commit e2915a9c81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265060
5 changed files with 40 additions and 0 deletions

View File

@ -1972,6 +1972,7 @@
SUBDIR += p5-Object-Accessor
SUBDIR += p5-Object-Array
SUBDIR += p5-Object-Declare
SUBDIR += p5-Object-Destroyer
SUBDIR += p5-Object-Enum
SUBDIR += p5-Object-Event
SUBDIR += p5-Object-InsideOut

View File

@ -0,0 +1,21 @@
# 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>

View File

@ -0,0 +1,2 @@
SHA256 (Object-Destroyer-2.00.tar.gz) = 651c126d9e6b48d62ae7bcd752ea50f5c53503c1f9e9a0451147cad83b93e940
SIZE (Object-Destroyer-2.00.tar.gz) = 29001

View File

@ -0,0 +1,10 @@
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 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/

View File

@ -0,0 +1,6 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Destroyer/.packlist
%%SITE_PERL%%/Object/Destroyer.pm
@dirrmtry %%SITE_PERL%%/Object
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Destroyer
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object