Add misc/p5-Array-LineReader, access lines of a file via an array.
Array::LineReader gives you the possibility to access lines of some file by the elements of an array. This modul inherites methods from Tie::Array (see Tie::Array). You save a lot of memory, because the file's content is read only on demand, i.e. in the case you access an element of the array. The offset and length of all the lines is hold in memory as long as you tie your array. WWW: http://search.cpan.org/dist/Array-LineReader/
This commit is contained in:
parent
78a9720df1
commit
6150a2b7ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264725
4 changed files with 41 additions and 0 deletions
|
@ -389,6 +389,7 @@
|
|||
SUBDIR += p5-Array-Compare
|
||||
SUBDIR += p5-Array-Diff
|
||||
SUBDIR += p5-Array-IntSpan
|
||||
SUBDIR += p5-Array-LineReader
|
||||
SUBDIR += p5-Array-PrintCols
|
||||
SUBDIR += p5-Array-RefElem
|
||||
SUBDIR += p5-Asterisk
|
||||
|
|
30
misc/p5-Array-LineReader/Makefile
Normal file
30
misc/p5-Array-LineReader/Makefile
Normal file
|
@ -0,0 +1,30 @@
|
|||
# New ports collection makefile for: p5-Array-LineReader
|
||||
# Date created: 2010/11/09
|
||||
# Whom: chinsan
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Array-LineReader
|
||||
PORTVERSION= 1.01
|
||||
CATEGORIES= misc perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= chinsan@FreeBSD.org
|
||||
COMMENT= Access lines of a file via an array
|
||||
|
||||
BUILD_DEPENDS= p5-IO>=0:${PORTSDIR}/devel/p5-IO
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Array::LineReader.3
|
||||
|
||||
PLIST_FILES= %%SITE_PERL%%/Array/LineReader.pm \
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/LineReader/.packlist
|
||||
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Array/LineReader \
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Array \
|
||||
%%SITE_PERL%%/Array
|
||||
|
||||
.include <bsd.port.mk>
|
2
misc/p5-Array-LineReader/distinfo
Normal file
2
misc/p5-Array-LineReader/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Array-LineReader-1.01.tar.gz) = 68fb03e7ee515afe0915d68ed8ea6b2b192326b80bb0f6189287a74569860562
|
||||
SIZE (Array-LineReader-1.01.tar.gz) = 6058
|
8
misc/p5-Array-LineReader/pkg-descr
Normal file
8
misc/p5-Array-LineReader/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
Array::LineReader gives you the possibility to access lines of some file by
|
||||
the elements of an array. This modul inherites methods from Tie::Array (see
|
||||
Tie::Array). You save a lot of memory, because the file's content is read
|
||||
only on demand, i.e. in the case you access an element of the array. The
|
||||
offset and length of all the lines is hold in memory as long as you tie your
|
||||
array.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Array-LineReader/
|
Loading…
Reference in a new issue