in reply to Excel file data - mail
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.
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.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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Excel file data - mail
by cormanaz (Deacon) on Aug 01, 2016 at 22:00 UTC | |
by Marshall (Canon) on Aug 04, 2016 at 15:20 UTC |