Text::CSV for perl6
Perl6 Perl Rust Makefile C++ C Other
Switch branches/tags
Nothing to show
Latest commit d1e3e9d Apr 20, 2017 @lizmat lizmat committed on GitHub Merge pull request #4 from samcv/license
Fix license field in META6.json
Permalink
Failed to load latest commit information.
NLPW-2015 @x and %x do not need is rw in signatures Sep 27, 2015
doc/Text It's 2017 Feb 28, 2017
examples speed example. disappointing, but working Jun 1, 2015
files Add missing test file Mar 15, 2015
lib/Text IO -> IO::Handle Apr 4, 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 IO -> IO::Handle Apr 4, 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 More to ignore Mar 20, 2017
.travis.yml Also drop --ll-exception Jan 14, 2016
43_binary.t make binary test available to others to play with before utf8-c8 is f… Dec 31, 2015
CSV.pm Make the move from test-t.pl to lib/Text/CSV.pm Apr 7, 2015
META6.json Fix license field in META6.json Apr 20, 2017
Makefile wrong dependency (thanks timotimo) Mar 20, 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 Move documentation to doc/ Oct 1, 2016
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 Also test CSV_PP under perl6 Feb 13, 2015
csv-ip5xs.pl Shorter syntax for Inline::Perl5 (timotimo++) Jan 14, 2016
csv-ip5xsio.pl Shorter syntax for Inline::Perl5 (timotimo++) Jan 14, 2016
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
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 :eager not needed anymore for .lines Sep 21, 2015
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 Updated system changed ruby versions Mar 20, 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