Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 02:06:46 +0800 (CST)
From:      chinsan <chinsan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109293: [NEW PORT] misc/p5-List-Rotation-Cycle: Cycle through a list of values
Message-ID:  <20070218180647.0209311461@chinsan.twbbs.org>
Resent-Message-ID: <200702181810.l1IIA3hg052356@freefall.freebsd.org>

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

>Number:         109293
>Category:       ports
>Synopsis:       [NEW PORT] misc/p5-List-Rotation-Cycle: Cycle through a list of 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:   Sun Feb 18 18:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 6.2-STABLE FreeBSD 6.2-STABLE #6: Mon Feb  5 23:22:25 CST
>Description:
Use List::Rotation::Cycle to loop through a list of values. Once you get to
the end of the list, you go back to the beginning.

List::Rotation::Cycle is implemented as a Singleton Pattern. You always just
get 1 (the very same) Cycle object even if you use the new method several
times. This is done by using Memoize on the new method. It returns the same
object for every use of new that comes with the same List of parameters.

WWW: http://search.cpan.org/dist/List-Rotation-Cycle/

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

--- p5-List-Rotation-Cycle-1.004.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-List-Rotation-Cycle
#	p5-List-Rotation-Cycle/Makefile
#	p5-List-Rotation-Cycle/distinfo
#	p5-List-Rotation-Cycle/pkg-descr
#	p5-List-Rotation-Cycle/pkg-plist
#
echo c - p5-List-Rotation-Cycle
mkdir -p p5-List-Rotation-Cycle > /dev/null 2>&1
echo x - p5-List-Rotation-Cycle/Makefile
sed 's/^X//' >p5-List-Rotation-Cycle/Makefile << 'END-of-p5-List-Rotation-Cycle/Makefile'
X# New ports collection makefile for:	p5-List-Rotation-Cycle
X# Date created:				2007/02/14
X# Whom:					chinsan
X#
X# $FreeBSD$
X#
X
XPORTNAME=	List-Rotation-Cycle
XPORTVERSION=	1.004
XCATEGORIES=	misc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	List
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	chinsan@FreeBSD.org
XCOMMENT=	Cycle through a list of values
X
XMAN3=		List::Rotation::Cycle.3
X
XPERL_CONFIGURE=	yes
X
X.include <bsd.port.mk>
END-of-p5-List-Rotation-Cycle/Makefile
echo x - p5-List-Rotation-Cycle/distinfo
sed 's/^X//' >p5-List-Rotation-Cycle/distinfo << 'END-of-p5-List-Rotation-Cycle/distinfo'
XMD5 (List-Rotation-Cycle-1.004.tar.gz) = fc8cf4f49d6bff0ea819690de72ced11
XSHA256 (List-Rotation-Cycle-1.004.tar.gz) = 4038ca59341998d20ee9fd2388e8d829e1a89aa9df28eac58fd32564a6083f7a
XSIZE (List-Rotation-Cycle-1.004.tar.gz) = 2936
END-of-p5-List-Rotation-Cycle/distinfo
echo x - p5-List-Rotation-Cycle/pkg-descr
sed 's/^X//' >p5-List-Rotation-Cycle/pkg-descr << 'END-of-p5-List-Rotation-Cycle/pkg-descr'
XUse List::Rotation::Cycle to loop through a list of values. Once you get to
Xthe end of the list, you go back to the beginning.
X
XList::Rotation::Cycle is implemented as a Singleton Pattern. You always just
Xget 1 (the very same) Cycle object even if you use the new method several
Xtimes. This is done by using Memoize on the new method. It returns the same
Xobject for every use of new that comes with the same List of parameters.
X
XWWW: http://search.cpan.org/dist/List-Rotation-Cycle/
END-of-p5-List-Rotation-Cycle/pkg-descr
echo x - p5-List-Rotation-Cycle/pkg-plist
sed 's/^X//' >p5-List-Rotation-Cycle/pkg-plist << 'END-of-p5-List-Rotation-Cycle/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/List/Rotation/Cycle/.packlist
X%%SITE_PERL%%/List/Rotation/Cycle.pm
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List/Rotation/Cycle
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List/Rotation
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/List
X@dirrmtry %%SITE_PERL%%/List/Rotation
X@dirrmtry %%SITE_PERL%%/List
END-of-p5-List-Rotation-Cycle/pkg-plist
exit
--- p5-List-Rotation-Cycle-1.004.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?20070218180647.0209311461>