ports/102681: [NEW PORT] devel/p5-Object-Array: Array references with accessors
Gea-Suan Lin
gslin at gslin.org
Wed Aug 30 09:00:43 UTC 2006
>Number: 102681
>Category: ports
>Synopsis: [NEW PORT] devel/p5-Object-Array: Array references with accessors
>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: Wed Aug 30 09:00:38 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gea-Suan Lin
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
Several of these methods do not behave exactly like their builtin
counterparts.
Specifically, any method that you would expect to return a list does
so, but only in list context. In scalar context, these methods will
return an Object::Array object constructed from a copy of the list
that would have been returned.
WWW: http://search.cpan.org/dist/Object-Array/
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-Object-Array-0.060.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-Array
# p5-Object-Array/pkg-descr
# p5-Object-Array/Makefile
# p5-Object-Array/pkg-plist
# p5-Object-Array/distinfo
#
echo c - p5-Object-Array
mkdir -p p5-Object-Array > /dev/null 2>&1
echo x - p5-Object-Array/pkg-descr
sed 's/^X//' >p5-Object-Array/pkg-descr << 'END-of-p5-Object-Array/pkg-descr'
XSeveral of these methods do not behave exactly like their builtin
Xcounterparts.
X
XSpecifically, any method that you would expect to return a list does
Xso, but only in list context. In scalar context, these methods will
Xreturn an Object::Array object constructed from a copy of the list
Xthat would have been returned.
X
XWWW: http://search.cpan.org/dist/Object-Array/
END-of-p5-Object-Array/pkg-descr
echo x - p5-Object-Array/Makefile
sed 's/^X//' >p5-Object-Array/Makefile << 'END-of-p5-Object-Array/Makefile'
X# New ports collection makefile for: p5-Object-Array
X# Date created: 2006-08-30
X# Whom: Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Object-Array
XPORTVERSION= 0.060
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Object
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= perl at FreeBSD.org
XCOMMENT= Array references with accessors
X
XRUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils \
X ${SITE_PERL}/Sub/Exporter.pm:${PORTSDIR}/devel/p5-Sub-Exporter \
X ${SITE_PERL}/Sub/Install.pm:${PORTSDIR}/devel/p5-Sub-Install \
X ${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable
XBUILD_DEPENDS= ${RUN_DEPENDS}
X
XPERL_CONFIGURE= yes
X
XMAN3= Object::Array.3 Object::Array::Plugin::Builtins.3 \
X Object::Array::Plugin::ListMoreUtils.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500703
XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Object-Array/Makefile
echo x - p5-Object-Array/pkg-plist
sed 's/^X//' >p5-Object-Array/pkg-plist << 'END-of-p5-Object-Array/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Array/.packlist
X%%SITE_PERL%%/Object/Array.pm
X%%SITE_PERL%%/Object/Array/Plugin/Builtins.pm
X%%SITE_PERL%%/Object/Array/Plugin/ListMoreUtils.pm
X at dirrmtry %%SITE_PERL%%/Object/Array/Plugin
X at dirrmtry %%SITE_PERL%%/Object/Array
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Array
END-of-p5-Object-Array/pkg-plist
echo x - p5-Object-Array/distinfo
sed 's/^X//' >p5-Object-Array/distinfo << 'END-of-p5-Object-Array/distinfo'
XMD5 (Object-Array-0.060.tar.gz) = 14ff94ff5d3f9af8a72758465d0d48b6
XSHA256 (Object-Array-0.060.tar.gz) = 11bb79d63f1c432496c2475e01c8e372cda93a0979672ffe3131a7ce8e0abb9a
XSIZE (Object-Array-0.060.tar.gz) = 22868
END-of-p5-Object-Array/distinfo
exit
--- p5-Object-Array-0.060.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list