./textproc/p5-Text-CSV-Hashify [turn a CSV file into a Perl hash]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 0.10, Package name: p5-Text-CSV-Hashify-0.10
Maintained by: James E Keenan
Master sites:
Description
The Comma-Separated-Value ('CSV') format is the most common way to store
spreadsheets or the output of relational database queries in plain-text
format. However, since commas (or other designated field-separator
characters) may be embedded within data entries, the parsing of
delimited records is non-trivial. Fortunately, in Perl this parsing is
well handled by CPAN distribution Text::CSV. This permits us to address
more specific data manipulation problems by building modules on top of
Text::CSV.

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) functions as a
primary key, i.e., each record's entry in that field is non-null and is
distinct from every other record's entry therein. Text::CSV::Hashify
turns that kind of CSV file into one big hash of hashes.

Text::CSV::Hashify can handle less typical cases; please consult the
documentation for its other functionalities.


Filesize: 74.421 KB
Version History (View Complete History)
  • (2018-01-23) Updated to version: p5-Text-CSV-Hashify-0.10
  • (2018-01-20) Package added to openports.se, version p5-Text-CSV-Hashify-0.08 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2018-01-23 02:45:15 by Stuart Henderson | Files touched by this commit (2)
Log message:
update to p5-Text-CSV-Hashify 0.10 from maintainer, adds support for gzip
and tab/pipe-separated input.
   2018-01-23 02:45:15 by Stuart Henderson | Files touched by this commit (2)
Log message:
update to p5-Text-CSV-Hashify 0.10 from maintainer, adds support for gzip
and tab/pipe-separated input.