Skip to content
Newer
Older
100644 19 lines (11 sloc) 487 Bytes
e1759ab @masak [README] clarification
authored Aug 18, 2009
1 Simple CSV (comma-separated values) format parser for Perl 6.
eb19806 @masak initial commit
authored Aug 15, 2009
2
3 use v6;
3e71665 @masak trimming of spaces is now an option
authored Aug 20, 2009
4 use Text::CSV;
eb19806 @masak initial commit
authored Aug 15, 2009
5
3e71665 @masak trimming of spaces is now an option
authored Aug 20, 2009
6 say Text::CSV.read-file('somefile.csv').perl;
7 say Text::CSV.read("foo,bar\nbaz,boo").perl;
8
9 Oh, and the C<read> methods take this flag:
10
c15254f @masak AoH output now works
authored Aug 21, 2009
11 :trim Removes whitespace on both ends of each value.
12
13 :output Determines the shape of the returned data structure.
14 Allowed values are 'arrays' and 'hashes'.
eb19806 @masak initial commit
authored Aug 15, 2009
15
16 == License
17
18 This module is released under Artistic 2.0. See LICENSE.
Something went wrong with that request. Please try again.