BSD Ports

textproc/p5-Parse-CSV 2.07 DragonFly

Highly flexible CSV parser for large files

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
17.1 KiB, 55.6 KiB installed

Description

Surely the CPAN doesn't need yet another CSV parsing module.

Text::CSV_XS is the standard parser for CSV files. It is fast as hell, but unfortunately it can be a bit verbose to use.

A number of other modules have attempted to put usability wrappers around this venerable module, but they have all focussed on parsing the entire file into memory at once.

This method is fine unless your CSV files start to get large. Once that happens, the only existing option is to fall back on the relatively slow and heavyweight XML::SAXDriver::CSV module.

Parse::CSV fills this functionality gap. It provides a flexible and light-weight streaming parser for large, extremely large, or arbitrarily large CSV files.

In the other systems

The newest version among them is 2.07, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlytextproc/p5-Parse-CSV2.07 newestnone known-[email protected]-
FreeBSDtextproc/p5-Parse-CSV2.07 newestnone known-[email protected]-
HardenedBSDtextproc/p5-Parse-CSV2.07 newestno data-[email protected]-
GhostBSDtextproc/p5-Parse-CSV2.07 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Parse-CSV

From DPorts:

cd /usr/dports/textproc/p5-Parse-CSV && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.