in reply to Extract column of excel
So deling with CSV in a spreadsheet way. Install Text::CSV_XS and Spreadsheet::Read, and then:
use Spreadsheet::Read; my $ss = ReadData ("file.csv"); # Spreadsheet::Read indexes from 1. 0 is the control record/column my @sheet = $ss->[1]; # CSV has just 1 sheet my @column = $sheet->{cell}[4]; # 4th column, unformatted
Enjoy, Have FUN! H.Merijn
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Extract column of excel
by MynameisAchint (Novice) on Jun 04, 2013 at 11:39 UTC | |
by hdb (Monsignor) on Jun 04, 2013 at 11:48 UTC | |
by MynameisAchint (Novice) on Jun 05, 2013 at 05:17 UTC | |
by hdb (Monsignor) on Jun 05, 2013 at 05:27 UTC |
In Section
Seekers of Perl Wisdom