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 @x and %x do not need is rw in signatures Sep 27, 2015
examples speed example. disappointing, but working Jun 1, 2015
files Add missing test file Mar 15, 2015
lib/Text Don't bother saving string in $x Jun 18, 2017
logotype looks like it needs a logo_32x32.png Nov 4, 2015
rust-csvreader Add rust timing Dec 16, 2016
rust-libcsv Add rust timing Dec 16, 2016
rust-quick-reader Add rust timing Dec 16, 2016
t Add support for csv (in => Iterator) May 11, 2017
.aspell.local.pws spelling and indexing/references (doc) Aug 12, 2016
.exrc This is why I don't like leading spaces Mar 14, 2015
.gitignore Ignore release files May 13, 2017
.travis.yml Panda is exit, long live zef May 28, 2017
43_binary.t make binary test available to others to play with before utf8-c8 is f… Dec 31, 2015
88.t Add utf8-c8 test to git May 28, 2017
CSV.pm Make the move from test-t.pl to lib/Text/CSV.pm Apr 7, 2015
MANIFEST Add a MANIFEST in preparation on reelasing to CPAN May 13, 2017
META6.json Up just for CPAN May 14, 2017
Makefile Up just for CPAN May 14, 2017
Notes Note on Buf vs Blob (from IRC) Apr 3, 2015
README.md It's 2017 Feb 28, 2017
README.speed Explain the postings on IRC Jan 6, 2017
TODO Make notes/doc/attr for feature I want to implement from masak Apr 6, 2015
Text-CSV.pod Up just for CPAN May 14, 2017
bugs.pl Add utf8-c8 test to bugs Jan 25, 2016
crnl.csv Submitted the CRNL issue as RT#127358 Jan 24, 2016
csv-R.R Add tests/time for R Jan 13, 2016
csv-c.c Add C test/timing Jan 10, 2016
csv-cc.cc Add C++ to the timing-list May 13, 2016
csv-easy-pp.pl Test the right module :/ Feb 3, 2016
csv-easy-xs.pl Add competitors for comparison Oct 9, 2014
csv-go.go Add go timing example/test Jan 10, 2016
csv-ip5pp.pl make all Inline::Perl5 tests faster by removing Slang::Tuxic May 11, 2017
csv-ip5xs.pl make all Inline::Perl5 tests faster by removing Slang::Tuxic May 11, 2017
csv-ip5xsio.pl make all Inline::Perl5 tests faster by removing Slang::Tuxic May 11, 2017
csv-lua.lua Add lua test/time Jan 10, 2016
csv-parser.pl A test case for CSV::Parser Apr 3, 2015
csv-pegex.pl Add competitors for comparison Oct 9, 2014
csv-php.php Add php test/timing Jan 10, 2016
csv-pi-easy-pp.pl test files for perlito Aug 15, 2016
csv-python2.py Also test python speeds Dec 31, 2015
csv-python3.py Also test python speeds Dec 31, 2015
csv-ruby.rb ruby versions can share the script Jan 9, 2016
csv-rust-csvrdr Add rust timing Dec 16, 2016
csv-rust-libcsv Add rust timing Dec 16, 2016
csv-rust-qckrdr Add rust timing Dec 16, 2016
csv-test-pp-pi.pl test files for perlito Aug 15, 2016
csv-test-pp.pl Add competitors for comparison Oct 9, 2014
csv-test-xs.pl Add competitors for comparison Oct 9, 2014
csv-xsbc.pl Timing after Inline::Perl went CORE Feb 22, 2015
csv.pl Don't need a return at the end of a sub Oct 14, 2015
csvJava.java Add java to timings Jan 10, 2016
csv_gram.pl drop return Jun 10, 2016
dbi5.pl Two examples for DBI (p5 vs p6) Feb 6, 2015
dbi6.pl Two examples for DBI (p5 vs p6) Feb 6, 2015
make-dist Adding the tool might help May 14, 2017
nc-c.pl Make NativeCall experiment public Oct 1, 2016
p6 compress code Apr 23, 2016
pj-epp.pl test files for perlito Aug 15, 2016
prove6 prove6 needs -Ilib too May 15, 2015
reasons.txt Next part of flow analysis Sep 7, 2014
test-t.pl Move test-t.pl -> test-tuxic.pl Apr 30, 2017
test-tuxic.pl Move test-t.pl -> test-tuxic.pl Apr 30, 2017
test.pl Fix long-standing (unimportant) wrong-doing Jul 11, 2016
test.sh Two ways to compare timings Jan 16, 2015
test.tsv Add java to timings Jan 10, 2016
time.pl Make ruby tests dynamic May 11, 2017

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