textproc/p5-Parse-CSV 2.07 FreeBSD
Highly flexible CSV parser for large files
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- textproc, perl5
- Package size
- 17.6 KiB, 55.3 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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-Parse-CSV | 2.07 |
| DragonFly | textproc/p5-Parse-CSV | 2.07 |
| HardenedBSD | textproc/p5-Parse-CSV | 2.07 |
| GhostBSD | textproc/p5-Parse-CSV | 2.07 |
Install
Binary package:
pkg install p5-Parse-CSV
From the ports tree:
cd /usr/ports/textproc/p5-Parse-CSV/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Parse-CSV>0:textproc/p5-Parse-CSV
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.07 | 2.07 | 2.07 | 2.07 | 2.07 |
| FreeBSD:14:quarterly | 2.07 | 2.07 | n/a | 2.07 | 2.07 |
| FreeBSD:15:latest | 2.07 | 2.07 | n/a | 2.07 | 2.07 |
| FreeBSD:15:quarterly | 2.07 | 2.07 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.07 | 2.07 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Params-Util>=1: devel/p5-Params-Utilp5-Text-CSV_XS>=1.22: textproc/p5-Text-CSV_XS
Runtime 2
p5-Params-Util>=1: devel/p5-Params-Utilp5-Text-CSV_XS>=1.22: textproc/p5-Text-CSV_XS
The full lists below include those, and their dependencies in turn.
Build dependencies 3
Run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Parse/CSV.pm
- %%PERL5_MAN3%%/Parse::CSV.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Parse-CSV-2.07.tar.gz | 19865 | 80c22d56b28d762ddea6aa589c55edc0b0a64cc8f5e83700780c22bb91679f71 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.