Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2006 06:20:04 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/100314: [NEW PORT] devel/p5-File-Find-Object: An object oriented File::Find replacement
Message-ID:  <20060714222004.4BB64306@netnews.NCTU.edu.tw>
Resent-Message-ID: <200607142220.k6EMKHrh032812@freefall.freebsd.org>

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

>Number:         100314
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-File-Find-Object: An object oriented File::Find replacement
>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:   Fri Jul 14 22:20:17 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:
- Tinderbox log:

  http://tb.gslin.org/logs/4.11-FreeBSD-Perl5/p5-File-Find-Object-0.0.3.log
  http://tb.gslin.org/logs/4.11-FreeBSD-Perl58/p5-File-Find-Object-0.0.3.log
  http://tb.gslin.org/logs/5.5-FreeBSD/p5-File-Find-Object-0.0.3.log
  http://tb.gslin.org/logs/6-STABLE/p5-File-Find-Object-0.0.3.log

File::Find::Object does same job as File::Find but works like an
object and with an iterator. As File::Find is not object oriented, one
cannot perform multiple searches in the same application. The second
problem of File::Find is its file processing: after starting its main
loop, one cannot easilly wait for another event an so get the next
result.

With File::Find::Object you can get the next file by calling the
next() function, but setting a callback is still possible.

WWW:	http://search.cpan.org/dist/File-Find-Object/

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

--- p5-File-Find-Object-0.0.3.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-File-Find-Object
#	p5-File-Find-Object/pkg-descr
#	p5-File-Find-Object/Makefile
#	p5-File-Find-Object/pkg-plist
#	p5-File-Find-Object/distinfo
#
echo c - p5-File-Find-Object
mkdir -p p5-File-Find-Object > /dev/null 2>&1
echo x - p5-File-Find-Object/pkg-descr
sed 's/^X//' >p5-File-Find-Object/pkg-descr << 'END-of-p5-File-Find-Object/pkg-descr'
XFile::Find::Object does same job as File::Find but works like an
Xobject and with an iterator. As File::Find is not object oriented, one
Xcannot perform multiple searches in the same application. The second
Xproblem of File::Find is its file processing: after starting its main
Xloop, one cannot easilly wait for another event an so get the next
Xresult.
X
XWith File::Find::Object you can get the next file by calling the
Xnext() function, but setting a callback is still possible.
X
XWWW:	http://search.cpan.org/dist/File-Find-Object/
END-of-p5-File-Find-Object/pkg-descr
echo x - p5-File-Find-Object/Makefile
sed 's/^X//' >p5-File-Find-Object/Makefile << 'END-of-p5-File-Find-Object/Makefile'
X# New ports collection makefile for:	p5-File-Find-Object
X# Date created:		2006-07-15
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	File-Find-Object
XPORTVERSION=	0.0.3
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	File
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	An object oriented File::Find replacement
X
XPERL_CONFIGURE=	yes
X
XMAN3=		File::Find::Object.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE=		requires perl 5.6.0 or later. Install lang/perl5.8 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-File-Find-Object/Makefile
echo x - p5-File-Find-Object/pkg-plist
sed 's/^X//' >p5-File-Find-Object/pkg-plist << 'END-of-p5-File-Find-Object/pkg-plist'
X@comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Find/Object/.packlist
X%%SITE_PERL%%/File/Find/Object.pm
X%%SITE_PERL%%/File/Find/Object/internal.pm
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Find/Object
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Find
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File
X@dirrmtry %%SITE_PERL%%/File/Find/Object
X@dirrmtry %%SITE_PERL%%/File/Find
X@dirrmtry %%SITE_PERL%%/File
END-of-p5-File-Find-Object/pkg-plist
echo x - p5-File-Find-Object/distinfo
sed 's/^X//' >p5-File-Find-Object/distinfo << 'END-of-p5-File-Find-Object/distinfo'
XMD5 (File-Find-Object-0.0.3.tar.gz) = ab82a462226eaef4296bdb4306846231
XSHA256 (File-Find-Object-0.0.3.tar.gz) = d284d131fb1e2ff5c6b2b458399b57c7058cf7938f9b553da7e00ce89e67c6b5
XSIZE (File-Find-Object-0.0.3.tar.gz) = 6595
END-of-p5-File-Find-Object/distinfo
exit
--- p5-File-Find-Object-0.0.3.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?20060714222004.4BB64306>