alabamenhu / CSV

Text::CSV for perl6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Text::CSV for perl6


Languages

Language:Perl 6 87.7%Language:Perl 8.8%Language:Rust 1.2%Language:Makefile 0.7%Language:C++ 0.3%Language:C 0.2%Language:Shell 0.2%Language:Lua 0.2%Language:Java 0.2%Language:Go 0.1%Language:Python 0.1%Language:PHP 0.1%Language:R 0.1%Language:Ruby 0.0%