Skip to content
Text::CSV for perl6
Perl 6 Perl Rust Makefile C++ C Other
Branch: master
Clone or download
Tux Merge pull request #19 from JJ/master
Changes tests to use Docker containers
Latest commit 47e1c0c Sep 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NLPW-2015 @x and %x do not need is rw in signatures Sep 27, 2015
examples Cleanup examples Sep 6, 2018
files Add missing test file Mar 15, 2015
lib/Text Bumps up version closes #16 Jul 3, 2019
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
.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 Uses encoding when opening, closes #14 May 11, 2019
.travis.yml Installs to pass initial test Sep 2, 2019
.whitesource Initial WhiteSource configuration file Jun 15, 2019
43-1.t Add 43-1.t to the repo to play with May 2, 2018
43-2.t Add 43-1.t to the repo to play with May 2, 2018
43-4.t Add 43-1.t to the repo to play with May 2, 2018
43_binary.t Try to revive real-binary Apr 21, 2018
88.t Sam fixed utf8-c8 (at least my test case) \o/ Sep 21, 2017
CONTRIBUTING.md No HTML mail please, and no disclaimers Aug 29, 2019
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 Bumps up version closes #16 Jul 3, 2019
Makefile Up just for CPAN May 14, 2017
Notes Note on Buf vs Blob (from IRC) Apr 3, 2015
README.md It's 2018 Jan 1, 2018
README.speed New timing wishes granted Oct 26, 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
csv-ruby.rb
csv-rust-csvrdr
csv-rust-libcsv
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 Also add a --race to test-t.pl Oct 23, 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
time-twice.pl Add java-13 Dec 27, 2018
time.pl Add timing for java openjdk 14 Jun 15, 2019

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-2018 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

 $ zef install Text::CSV

Author

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

You can’t perform that action at this time.