Text::CSV for perl6
Perl6 Perl Rust Makefile C++ C Other
Switch branches/tags
Nothing to show
Latest commit 3b8d390 Jun 18, 2017 @lizmat lizmat Don't bother saving string in $x
Should save a bit in the case eol is defined, and a bit less if not.
Permalink
Failed to load latest commit information.
NLPW-2015
examples
files
lib/Text
logotype
rust-csvreader
rust-libcsv
rust-quick-reader
t
.aspell.local.pws
.exrc
.gitignore
.travis.yml
43_binary.t
88.t
CSV.pm
MANIFEST
META6.json
Makefile
Notes
README.md
README.speed
TODO
Text-CSV.pod
bugs.pl
crnl.csv
csv-R.R
csv-c.c
csv-cc.cc
csv-easy-pp.pl
csv-easy-xs.pl
csv-go.go
csv-ip5pp.pl
csv-ip5xs.pl
csv-ip5xsio.pl
csv-lua.lua
csv-parser.pl
csv-pegex.pl
csv-php.php
csv-pi-easy-pp.pl
csv-python2.py
csv-python3.py
csv-ruby.rb
csv-rust-csvrdr
csv-rust-libcsv
csv-rust-qckrdr
csv-test-pp-pi.pl
csv-test-pp.pl
csv-test-xs.pl
csv-xsbc.pl
csv.pl
csvJava.java
csv_gram.pl
dbi5.pl
dbi6.pl
make-dist
nc-c.pl
p6
pj-epp.pl
prove6
reasons.txt
test-t.pl
test-tuxic.pl
test.pl
test.sh
test.tsv
time.pl

README.md

Module

Text::CSV - Handle CSV data in perl6

Description

Text::CSV provides facilities for the composition and decomposition of comma-separated values. An instance of the Text::CSV class can combine fields into a CSV string and parse a CSV string into fields.

This module provides both an OO API and a functional API to parse and produce CSV data.

 use Text::CSV;

 my $csv = Text::CSV.new;
 my $io  = open "file.csv", :r, chomp => False;
 my @dta = $csv.getline_all($io);

 my @dta = csv(in => "file.csv");

Copying

Copyright (c) 2015-2017 H.Merijn Brand. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Recent changes can be (re)viewed in the public GIT repository at https://github.com/Tux/CSV Feel free to clone your own copy:

 $ git clone https://github.com/Tux/CSV Text-CSV

Prerequisites

  • perl6 2015.03
  • File::Temp - as long as in-memory IO is not native
  • Slang::Tuxic - to support my style

Build/Installation

 $ panda install Text::CSV

Author

H.Merijn Brand h.m.brand@xs4all.nl