Perl filehandles are streams, but sometimes they just aren't powerful

enough. This module offers to have streams from filehandles searched with
regexes and allows the global input record separator variable to contain
regexes.

Thus, readline() and the <> operator can now return records delimited by
regular expression matches.

WWW:	http://search.cpan.org/dist/File-Stream/

PR:		ports/125926
Submitted by:	Tomoyuki Sakurai <cherry at trombik.org>
This commit is contained in:
Martin Wilke 2008-08-06 13:35:03 +00:00
parent 5c6566d906
commit 1cd66a015e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218135
5 changed files with 37 additions and 0 deletions

View File

@ -1299,6 +1299,7 @@
SUBDIR += p5-File-ShareDir
SUBDIR += p5-File-Slurp
SUBDIR += p5-File-Slurp-Tree
SUBDIR += p5-File-Stream
SUBDIR += p5-File-Sync
SUBDIR += p5-File-Tail
SUBDIR += p5-File-Temp

View File

@ -0,0 +1,22 @@
# New ports collection makefile for: p5-File-Stream
# Date created: 2008-07-21
# Whom: Tomoyuki Sakurai <cherry@trombik.org>
#
# $FreeBSD$
#
PORTNAME= File-Stream
PORTVERSION= 2.20
CATEGORIES= devel
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= cherry@trombik.org
COMMENT= Regular expression delimited records from streams
RUN_DEPENDS= p5-YAPE-Regex>=3.02:${PORTSDIR}/textproc/p5-YAPE-Regex
MAN3= File::Stream.3
PERL_MODBUILD= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (File-Stream-2.20.tar.gz) = 66704b4b0b9d42f962b5d6ab55ec1418
SHA256 (File-Stream-2.20.tar.gz) = db43c2154b5e449166a7e34dd647f53891898cff7f7e15ed59f8df512fc20a21
SIZE (File-Stream-2.20.tar.gz) = 6720

View File

@ -0,0 +1,9 @@
Perl filehandles are streams, but sometimes they just aren't powerful
enough. This module offers to have streams from filehandles searched with
regexes and allows the global input record separator variable to contain
regexes.
Thus, readline() and the <> operator can now return records delimited by
regular expression matches.
WWW: http://search.cpan.org/dist/File-Stream/

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/File/Stream.pm
@dirrmtry %%SITE_PERL%%/File