RosettaCodeData/Task/CSV-data-manipulation/Perl-6/csv-data-manipulation-2.pl6

6 lines
161 B
Raku
Raw Permalink Normal View History

2015-02-20 09:02:09 -05:00
use Text::CSV;
my $csvfile = './whatever.csv';
2018-06-22 20:57:24 +00:00
my @csv = Text::CSV.parse-file($csvfile);
# modify(@csv); # do whatever;
2015-02-20 09:02:09 -05:00
csv-write-file( @csv, :file($csvfile) );