Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2010 11:33:52 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/152276: [NEW PORT] devel/p5-Object-Destroyer: Make objects with circular references DESTROY normally
Message-ID:  <20101116033352.75FD87E81B@colo-p.gslin.org>
Resent-Message-ID: <201011160340.oAG3e90K017148@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152276
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-Object-Destroyer: Make objects with circular references DESTROY normally
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 16 03:40:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 7.3-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD colo-p.gslin.org 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Mon Jul 12 19:04:04 UTC 2010
>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 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/

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- p5-Object-Destroyer-2.00.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Object-Destroyer
#	p5-Object-Destroyer/pkg-descr
#	p5-Object-Destroyer/Makefile
#	p5-Object-Destroyer/pkg-plist
#	p5-Object-Destroyer/distinfo
#
echo c - p5-Object-Destroyer
mkdir -p p5-Object-Destroyer > /dev/null 2>&1
echo x - p5-Object-Destroyer/pkg-descr
sed 's/^X//' >p5-Object-Destroyer/pkg-descr << '8439d9b8710741e00346824798e6787c'
XObject::Destroyer allows for the creation of "Destroy" handles. The
Xhandle is "attached" to the circular relationship, but is not a part
Xof it. When the destroy handle falls out of scope, it will be cleaned
Xup correctly, and while being cleaned up, it will also force the data
Xstructure it is attached to to be destroyed as well. Object::Destroyer
Xcan call a specified release method on an object (or method DESTROY by
Xdefault). Alternatively, it can execute an arbitrary user code passed
Xto constructor as a code reference.
X
XWWW:	http://search.cpan.org/dist/Object-Destroyer/
8439d9b8710741e00346824798e6787c
echo x - p5-Object-Destroyer/Makefile
sed 's/^X//' >p5-Object-Destroyer/Makefile << '286ac3e00b76c6228ef84f31dde18c18'
X# New ports collection makefile for:	p5-Object-Destroyer
X# Date created:		2010-11-16
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Object-Destroyer
XPORTVERSION=	2.00
XCATEGORIES=	devel perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	Make objects with circular references DESTROY normally
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Object::Destroyer.3
X
X.include <bsd.port.mk>
286ac3e00b76c6228ef84f31dde18c18
echo x - p5-Object-Destroyer/pkg-plist
sed 's/^X//' >p5-Object-Destroyer/pkg-plist << '409f26fcac6fafcb6605d18a5371e006'
X@comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Destroyer/.packlist
X%%SITE_PERL%%/Object/Destroyer.pm
X@dirrmtry %%SITE_PERL%%/Object
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Destroyer
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object
409f26fcac6fafcb6605d18a5371e006
echo x - p5-Object-Destroyer/distinfo
sed 's/^X//' >p5-Object-Destroyer/distinfo << '196d6871076a0629fa68ca49f058eac6'
XSHA256 (Object-Destroyer-2.00.tar.gz) = 651c126d9e6b48d62ae7bcd752ea50f5c53503c1f9e9a0451147cad83b93e940
XSIZE (Object-Destroyer-2.00.tar.gz) = 29001
196d6871076a0629fa68ca49f058eac6
exit
--- p5-Object-Destroyer-2.00.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101116033352.75FD87E81B>