mikeB has asked for the wisdom of the Perl Monks concerning the following question:
Any thoughts?
#!/usr/bin/perl -w use strict; use Data::Dumper; use Spreadsheet::ParseExcel; my $excel = new Spreadsheet::ParseExcel or die; my $book = $excel->Parse($ARGV[0]) or die; my $sheet; foreach $sheet (@{$book->{Worksheet}}) { #foreach (0 .. $book->{SheetCount}) { # $sheet = $book->{Worksheet}[$_]; print $sheet->{Name},"\n"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Problem enumerating Worksheets with Spreadsheet::ParseExcel
by jmcnamara (Monsignor) on Dec 17, 2001 at 22:34 UTC |