Update: I am curious...The problem appears to be that multiple folks need
the current values of a spreadsheet on a daily basis. Instead of parsing the spreadsheet and emailing results, why isn't the idea to post this spreadsheet on a website so that each user can just login and see current status whenever they wish? I am wondering if the "right" question is being asked?
Update2: in the Chatterbox, I got turned onto Spreadsheet::Read. That looks extremely promising.
====
I am also currently working on a
spreadsheet parsing problem at the moment,
There are a number of confusing options for reading spreadsheets.
Win32::OLE is one of them. There are other ways to read the
spreadsheet file (.xls,.xlsx) directly. I haven't found a great
option yet, but there are some out there.
This google search perl+spreadsheet+xlsx turned up some interesting stuff.
Yesterday to get started, I implemented some code with an old module
(Spreadsheet::DataFromExcel) that can only read .xls files, but this was
very easy and got me past a blocking point and onto the more difficult
parts of my current assignment.
use Spreadsheet::DataFromExcel;
my $p = Spreadsheet::DataFromExcel->new;
my $web = $p->load('Roster.xls', 'For Web',3) or die $p->error;
# $web is ref to AoA for that sheet
This is all the functionality that I need, except that it doesn't work
with .XLSX. Maybe some Monk here can advise on the easiest way to get
that 2 lines of functionality with .XLSX? If so, then that probably satisfies both of our requirements.
|