New port: textproc/p5-Text-CSV-Hashify

Perl module for turning CSV files into Hashes.

WWW: http://search.cpan.org/dist/Text-CSV-Hashify/
This commit is contained in:
Tom Judge 2013-07-10 16:13:00 +00:00
parent 871ad2d779
commit 8f85c57733
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322708
5 changed files with 43 additions and 0 deletions

View file

@ -771,6 +771,7 @@
SUBDIR += p5-Text-Brew
SUBDIR += p5-Text-CSV
SUBDIR += p5-Text-CSV-Encoded
SUBDIR += p5-Text-CSV-Hashify
SUBDIR += p5-Text-CSV-Simple
SUBDIR += p5-Text-CSV_XS
SUBDIR += p5-Text-Capitalize

View file

@ -0,0 +1,21 @@
# Created by: tj@FreeBSD.org
# $FreeBSD$
PORTNAME= Text-CSV-Hashify
PORTVERSION= 0.05
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:JKEENAN
PKGNAMEPREFIX= p5-
MAINTAINER= tj@FreeBSD.org
COMMENT= Composition and decomposition of comma-separated values into hashes
BUILD_DEPENDS= p5-Text-CSV>=0:${PORTSDIR}/textproc/p5-Text-CSV
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Text::CSV::Hashify.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Text-CSV-Hashify-0.05.tar.gz) = f4c2ab560207f29e4c336ac17441170c373510512fae4a9f7c8df155874a3d05
SIZE (Text-CSV-Hashify-0.05.tar.gz) = 17870

View file

@ -0,0 +1,12 @@
Text::CSV::Hashify is designed for the case where you simply want to turn a CSV
file into a Perl hash. In particular, it is designed for the case where (a) the
CSV file's first record is a list of fields in the ancestral database table and
(b) one field (column) of which functions as a primary key, i.e., each record's
entry in that field is distinct from every other record's entry therein.
Text::CSV::Hashify turns that kind of CSV file into one big hash of hashes.
Elements of this hash are keyed on the entries in the designated primary key
field and the value for each element is a hash reference of all the data in a
particular database record (including the primary key field and its value).
WWW: http://search.cpan.org/dist/Text-CSV-Hashify/

View file

@ -0,0 +1,7 @@
%%SITE_PERL%%/Text/CSV/Hashify.pm
%%SITE_PERL%%/mach/auto/Text/CSV/Hashify/.packlist
@dirrm %%SITE_PERL%%/mach/auto/Text/CSV/Hashify
@dirrmtry %%SITE_PERL%%/mach/auto/Text/CSV
@dirrmtry %%SITE_PERL%%/mach/auto/Text
@dirrmtry %%SITE_PERL%%/Text/CSV
@dirrmtry %%SITE_PERL%%/Text