hakana has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use Spreadsheet::ParseExcel; my $excel = Spreadsheet::ParseExcel::Workbook->Parse($ARGV[0]); $Worksheet = $excel->Worksheet("..."); foreach my $col ($Worksheet->{MinCol} .. $Worksheet->{MaxCol}) { my $cell = $Worksheet->{Cells}[0][$col]; if ($cell) { push @keywords, $cell->{Val}; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Spreadsheet::ParseExcel column access
by stiller (Friar) on Feb 04, 2008 at 10:20 UTC | |
by hakana (Acolyte) on Feb 04, 2008 at 10:36 UTC |