Hey everyone. I'm using Spreadsheet::Re ad to grab data from an excel .xls file and I can't figure out how to loop through the hash and display the data. Using print works but I would like to print column A1 through A100 without having to manual type them all out. I tried a lot of different things so any help would be really appreciated. Here is the code I've got so far:
Code:
#!/usr/bin/perl -w
use strict;
use Spreadsheet::Read;
use Data::Dumper;
my $xls = ReadData ("test.xls");
print $xls->[1]{'A1'};
print $xls->[1]{'A2'};
print $xls->[1]{'A3'};
exit;
Comment