Win has asked for the wisdom of the Perl Monks concerning the following question:
$colref = $csv->getline ($io); # Read a line from file $io # parse it and return an array # ref of fields
$status = $csv->parse($line); @columns = $csv->fields(); # get the parsed fields
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Text::CSV
by Tux (Canon) on Sep 24, 2009 at 12:34 UTC | |
by ikegami (Patriarch) on Sep 24, 2009 at 15:45 UTC | |
by Tux (Canon) on Sep 25, 2009 at 06:12 UTC | |
by ikegami (Patriarch) on Sep 25, 2009 at 06:34 UTC | |
by Tux (Canon) on Sep 25, 2009 at 07:58 UTC | |
| |
|
Re: Using Text::CSV
by Anonymous Monk on Sep 24, 2009 at 14:34 UTC | |
|
Re: Using Text::CSV
by liverpole (Monsignor) on Sep 25, 2009 at 16:01 UTC | |
|
Re: Using Text::CSV
by Anonymous Monk on Sep 25, 2009 at 16:38 UTC |