Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2010 05:22:34 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/152211: [NEW PORT] devel/p5-Array-Unique: Tie-able array that allows only unique values
Message-ID:  <20101113212234.296727E821@colo-p.gslin.org>
Resent-Message-ID: <201011132130.oADLU9Ge053382@freefall.freebsd.org>

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

>Number:         152211
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-Array-Unique: Tie-able array that allows only unique values
>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:   Sat Nov 13 21:30: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:
This package lets you create an array which will allow only one
occurrence of any value.

In other words no matter how many times you put in 42 it will keep
only the first occurrence and the rest will be dropped.

You use the module via tie and once you tied your array to this
module it will behave correctly.

Uniqueness is checked with the 'eq' operator so among other things it
is case sensitive.

As a side effect the module does not allow undef as a value in the
array.

WWW:	http://search.cpan.org/dist/Array-Unique/

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

--- p5-Array-Unique-0.08.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-Array-Unique
#	p5-Array-Unique/pkg-descr
#	p5-Array-Unique/Makefile
#	p5-Array-Unique/pkg-plist
#	p5-Array-Unique/distinfo
#
echo c - p5-Array-Unique
mkdir -p p5-Array-Unique > /dev/null 2>&1
echo x - p5-Array-Unique/pkg-descr
sed 's/^X//' >p5-Array-Unique/pkg-descr << '0fdf57ddaeed90fe156df40f5025fe50'
XThis package lets you create an array which will allow only one
Xoccurrence of any value.
X
XIn other words no matter how many times you put in 42 it will keep
Xonly the first occurrence and the rest will be dropped.
X
XYou use the module via tie and once you tied your array to this
Xmodule it will behave correctly.
X
XUniqueness is checked with the 'eq' operator so among other things it
Xis case sensitive.
X
XAs a side effect the module does not allow undef as a value in the
Xarray.
X
XWWW:	http://search.cpan.org/dist/Array-Unique/
0fdf57ddaeed90fe156df40f5025fe50
echo x - p5-Array-Unique/Makefile
sed 's/^X//' >p5-Array-Unique/Makefile << 'a79a0b4114a6d709a5b39b5db4f1cc4c'
X# New ports collection makefile for:	p5-Array-Unique
X# Date created:		2010-11-14
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Array-Unique
XPORTVERSION=	0.08
XCATEGORIES=	devel perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	Tie-able array that allows only unique values
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Array::Unique.3
X
X.include <bsd.port.mk>
a79a0b4114a6d709a5b39b5db4f1cc4c
echo x - p5-Array-Unique/pkg-plist
sed 's/^X//' >p5-Array-Unique/pkg-plist << '2264448ce0bf914f8f6711c25020d31e'
X@comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/Unique/.packlist
X%%SITE_PERL%%/Array/Unique.pm
X@dirrmtry etc/devd
X@dirrmtry %%SITE_PERL%%/Array
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/Unique
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Array
2264448ce0bf914f8f6711c25020d31e
echo x - p5-Array-Unique/distinfo
sed 's/^X//' >p5-Array-Unique/distinfo << '033f25cca0c4fbc4b6bc63405c754606'
XSHA256 (Array-Unique-0.08.tar.gz) = 3d5440c90c9caa09900868ad2ba5f84ea52e704af8ce3016d8ee0e6173f271d2
XSIZE (Array-Unique-0.08.tar.gz) = 8759
033f25cca0c4fbc4b6bc63405c754606
exit
--- p5-Array-Unique-0.08.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?20101113212234.296727E821>