Data-CTable
view release on metacpan or search on metacpan
The object's hash keys are the field names and the hash values hold
the data columns (as array references).
Tables also store a "selection" -- a list of selected / sorted record
numbers, and a "field list" -- an ordered list of all or some fields
to be operated on. Select() and sort() methods manipulate the
selection list. Later, you can optionally rewrite the table in memory
or on disk to reflect changes in the selection list or field list.
Data::CTable reads and writes any tabular text file format including
Merge, CSV, Tab-delimited, and variants. It transparently detects,
reads, and preserves Unix, Mac, and/or DOS line endings and tab or
comma field delimiters -- regardless of the runtime platform.
In addition to reading data files, CTable is a good way to gather,
store, and operate on tabular data in memory, and to export data to
delimited text files to be read by other programs or interactive
productivity applications.
To achieve extremely fast data loading, CTable caches data file
contents using the Storable module. This can be helpful in CGI
The object's hash keys are the field names and the hash values hold the
data columns (as array references).
Tables also store a "selection" -- a list of selected / sorted record
numbers, and a "field list" -- an ordered list of all or some fields to
be operated on. Select() and sort() methods manipulate the selection
list. Later, you can optionally rewrite the table in memory or on disk
to reflect changes in the selection list or field list.
Data::CTable reads and writes any tabular text file format including
Merge, CSV, Tab-delimited, and variants. It transparently detects,
reads, and preserves Unix, Mac, and/or DOS line endings and tab or comma
field delimiters -- regardless of the runtime platform.
In addition to reading data files, CTable is a good way to gather,
store, and operate on tabular data in memory, and to export data to
delimited text files to be read by other programs or interactive
productivity applications.
To achieve extremely fast data loading, CTable caches data file contents
using the Storable module. This can be helpful in CGI environments or
( run in 0.435 second using v1.01-cache-2.11-cpan-0a6323c29d9 )