in reply to Extract a column of csv
And just to prove it ;o)
Produces:use strict; use warnings; use utf8; use Text::CSV; my $io = \*DATA; my $csv = Text::CSV->new ({ binary => 1 }); while (my $row = $csv->getline($io)) { print $row->[1], "\n"; } __DATA__ 33,44,55,"ABC" 234.33,"ABC ""DEFGHIJ"" KLMNOP","asdfasd asdfasdfasdf "
44 ABC "DEFGHIJ" KLMNOP
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extract a column of csv
by Anonymous Monk on Jun 26, 2013 at 13:46 UTC | |
|
Re^2: Extract a column of csv
by Anonymous Monk on Jun 27, 2013 at 03:57 UTC |