Acme-CPANModules-WorkingWithCSV
view release on metacpan or search on metacpan
lib/Acme/CPANModules/WorkingWithCSV.pm view on Meta::CPAN
**Sorting CSV columns**
<prog:csv-sort-fields> from <pm:App::CSVUtils>
**Filtering CSV columns**
<prog:csv-select-fields> from <pm:App::CSVUtils>
**Filtering CSV rows**
<prog:csv-grep> and <prog:csv-select-rows> from <pm:App::CSVUtils>
<prog:csvgrep> from <pm:csvgrep>
**Transposing CSV**
<prog:csv-transpose> from <pm:App::CSVUtils>
**Summing and averaging rows**
<prog:csv-sum> and <prog:csv-avg> from <pm:App::CSVUtils>
**Producing frequency table from CSV**
<prog:csv-freqtable> from <pm:App::CSVUtils>
**Performing set operations (intersection, union, difference) on CSV**
<prog:csv-setop> from <pm:App::CSVUtils>
** Other modules/unorganized
<pm:Data::CTable>
_
our $LIST = {
summary => 'List of modules/applications to work with CSV (comma-separated value) data in Perl',
description => $text,
tags => ['task'],
};
Acme::CPANModulesUtil::Misc::populate_entries_from_module_links_in_description;
1;
# ABSTRACT: List of modules/applications to work with CSV (comma-separated value) data in Perl
__END__
=pod
=encoding UTF-8
=head1 NAME
Acme::CPANModules::WorkingWithCSV - List of modules/applications to work with CSV (comma-separated value) data in Perl
=head1 VERSION
This document describes version 0.003 of Acme::CPANModules::WorkingWithCSV (from Perl distribution Acme-CPANModules-WorkingWithCSV), released on 2023-10-31.
=head1 DESCRIPTION
The following are tools (modules and scripts) to work with the CSV format:
B<Parsing>
First things first, the most important module to work with CSV in Perl is
L<Text::CSV> (which will use L<Text::CSV_XS> backend when possible but fall
back to L<Text::CSV_PP> otherwise). It's not in core, but only a cpanm command
away.
B<Generating CSV from Perl array/structure>
L<Text::CSV> (as well as L<Text::CSV_XS>) can render a line of CSV from Perl
array(ref) with their C<say()> method.
L<dd2csv> from L<App::CSVUtils>
L<Perinci::CmdLine> framework can render function result (CLI output) as CSV.
B<Converting to/from other formats>
I<INI>: L<ini2csv> from L<App::TextTableUtils>
I<TSV>: L<csv2tsv> and LL<tsv2csv> from L<App::CSVUtils>
I<LTSV>: L<csv2ltsv> from L<App::CSVUtils> and LL<ltsv2csv> from
L<App::LTSVUtils>
I<XLS> and I<XLSX>: L<csv2tsv> and L<tsv2csv> from L<App::CSVUtils>
I<JSON>: L<csv2json> and L<json2csv> from L<App::TextTableUtils>
I<Markdown table>: L<csv2mdtable> from L<App::TextTableUtils>
I<Org table>: L<csv2orgtable> from L<App::TextTableUtils>
I<SQLite database>: L<csv2sqlite> from L<App::SQLiteUtils>
B<Rendering as text/ASCII table>
L<csv2texttable> from L<App::TextTableUtils>
B<Changing field separator character, field quote character, and/or escape character>
L<csv-csv> from L<App::CSVUtils>
B<Adding/removing columns>
L<csv-add-fields>, L<csv-delete-field>, L<csv-select-fields> from
L<App::CSVUtils>
( run in 1.420 second using v1.01-cache-2.11-cpan-39bf76dae61 )