add Tie::File - Access the lines of a disk file via a Perl array.
This commit is contained in:
parent
a48d6c62b9
commit
c573e82e63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83203
5 changed files with 44 additions and 0 deletions
|
@ -700,6 +700,7 @@
|
|||
SUBDIR += p5-Test-Unit
|
||||
SUBDIR += p5-Tie-Cache
|
||||
SUBDIR += p5-Tie-DB_FileLock
|
||||
SUBDIR += p5-Tie-File
|
||||
SUBDIR += p5-Tie-IxHash
|
||||
SUBDIR += p5-Time-Duration
|
||||
SUBDIR += p5-Time-HiRes
|
||||
|
|
28
devel/p5-Tie-File/Makefile
Normal file
28
devel/p5-Tie-File/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# New ports collection makefile for: p5-Tie-File
|
||||
# Date created: 17 June 2003
|
||||
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Tie-File
|
||||
PORTVERSION= 0.96
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Tie
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= leeym@FreeBSD.org
|
||||
COMMENT= Access the lines of a disk file via a Perl array
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Tie::File.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} > 500703
|
||||
IGNORE= "This port is for perl 5.7.2 and under only."
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
devel/p5-Tie-File/distinfo
Normal file
1
devel/p5-Tie-File/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (Tie-File-0.96.tar.gz) = 1d7184e02a560afbc7a9eafffc80f44c
|
9
devel/p5-Tie-File/pkg-descr
Normal file
9
devel/p5-Tie-File/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
Tie::File represents a regular text file as a Perl array. Each element in
|
||||
the array corresponds to a record in the file. The first line of the file
|
||||
is element 0 of the array; the second line is element 1, and so on.
|
||||
|
||||
The file is not loaded into memory, so this will work even for gigantic files.
|
||||
|
||||
Changes to the array are reflected in the file immediately.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Tie-File/
|
5
devel/p5-Tie-File/pkg-plist
Normal file
5
devel/p5-Tie-File/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
%%SITE_PERL%%/Tie/File.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/File/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/File
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Tie 2>/dev/null || true
|
Loading…
Reference in a new issue