Name : perl-Text-CSV-Hashify
| |
Version : 0.11
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 18:03:35
|
Group : Development/Libraries/Perl
| Source RPM : perl-Text-CSV-Hashify-0.11-lp155.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : Turn a CSV file into a Perl hash
|
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 at http://search.cpan.org/dist/Text-CSV/. This permits us to address more specific data manipulation problems by building modules on top of _Text::CSV_.
*Note:* In this document we will use _CSV_ as a catch-all for tab-delimited files, pipe-delimited files, and so forth. Please refer to the documentation for Text::CSV to learn how to handle field separator characters other than the comma.
_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:
* the CSV file\'s first record is a list of fields in the ancestral database table; and
* 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 now take gzip-compressed (_.gz_) files as input as well as uncompressed files.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.5/noarch |