My first piece of advice would be to try to get the data exported from excel in tab-separated or comma-separated formats, so you don't have to touch the actual excel file. Those file formats are a MESS. If that's not feasable, quick search of CPAN produces Spreadsheet::ParseExcel
Enjoy
Trinary | [reply] |
In addition to the advice just above, you may also be interested in making use of OLE automation if your script is running under Windows. See Win32::OLE. You don't give us any details as to what you're trying to do (get at an Excel file itself or interact with a running copy of excel), so one of these posts should have the information you need.
As far as "database" stuff goes, you may be confusing Excel with Access. To my knowledge, Excel doesn't "export" its worksheets with any database-ish mechanism at all. | [reply] |
| [reply] |
As far as "database" stuff goes, you may be confusing Excel with Access. To my knowledge, Excel doesn't "export" its worksheets with any database-ish mechanism at all.
Data in Excel is stored in a database-like format although this mechanism is a secondary feature. It is there to allow DB applications to read the data although Excel itself doesn't strictly require it. You can access Excel data for reading and writing using ODBC or ADO.
John.
--
| [reply] |
| [reply] |