Skip to content

Tux/CSV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 27, 2025
1b25261 · Jan 27, 2025
Oct 28, 2023
Sep 27, 2015
Oct 31, 2022
Mar 21, 2021
Oct 28, 2023
Feb 21, 2024
Nov 4, 2015
Dec 16, 2016
Dec 16, 2016
Dec 16, 2016
Oct 30, 2023
Nov 24, 2023
Aug 12, 2016
Mar 14, 2015
Oct 8, 2023
Jun 15, 2019
Mar 21, 2021
Mar 21, 2021
Mar 21, 2021
Mar 21, 2021
Mar 21, 2021
Mar 21, 2021
Aug 4, 2023
Jun 25, 2020
Oct 30, 2023
Oct 28, 2023
Apr 3, 2015
Jan 5, 2024
Dec 16, 2019
Apr 6, 2015
May 14, 2017
Aug 4, 2023
Jan 24, 2016
Jan 13, 2016
Aug 16, 2021
May 13, 2016
Feb 3, 2016
Oct 9, 2014
Jan 10, 2016
Mar 21, 2021
Mar 21, 2021
Mar 21, 2021
Mar 13, 2022
Jan 10, 2016
Mar 21, 2021
Oct 9, 2014
Jan 10, 2016
Aug 15, 2016
Dec 31, 2015
Dec 31, 2015
Jan 9, 2016
Dec 16, 2016
Dec 16, 2016
Dec 16, 2016
Aug 15, 2016
Oct 9, 2014
Oct 9, 2014
Feb 22, 2015
Oct 14, 2015
Jan 10, 2016
Jun 10, 2016
Feb 6, 2015
Mar 21, 2021
May 14, 2017
Mar 21, 2021
Mar 21, 2021
Aug 15, 2016
Mar 21, 2021
Mar 21, 2021
Dec 16, 2019
Mar 21, 2021
Dec 16, 2019
Mar 21, 2021
Jan 10, 2016
Jun 9, 2024
Jan 27, 2025

Repository files navigation

Module Test raku

Text::CSV - Handle CSV data in Raku

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");

Additional (still incomplete) documentation in the doc directory, including a markdown version. Check out also the examples.

Debugging information can be obtained by setting the RAKU_VERBOSE environment variable with values ranging to 2 to 9, less to annoyingly verbose.

Installation

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

  • raku 6.c
  • File::Temp - as long as in-memory IO is not native
  • Slang::Tuxic - to support my style

Build/Installation

 $ zef install Text::CSV

Or just

$ zef install .

for the already downloaded repo

License

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

This program is free software; you can redistribute it and/or modify it under the same terms as Raku itself, which is GNU General Public License or Artistic License 2.

Author

H.Merijn Brand hmbrand@cpan.org