IBM developerWorkks: Reading and writing Excel files with Perl | Linux Today

IBM developerWorkks: Reading and writing Excel files with Perl

Written By
Web Webster
Web Webster
Sep 30, 2001

Parsing Excel files presents a conundrum any way you
look at it. Until last year, UNIX modules were completely
unavailable, and data from Excel files for Windows could only be
retrieved with the Win32::OLE modules. But things have finally
changed, thanks to two Perl hackers and a lot of volunteer help and
contributions!

In 2000, Takanori Kawai and John McNamara produced the
Spreadsheet::WriteExcel and Spreadsheet::ParseExcel modules and
posted them on CPAN, which made it possible, though not easy, to
extract data from Excel files on any platform.

As we’ll see later, Win32::OLE still offers a simpler, more
reliable solution if you’re working with Windows, and is
recommended by the Spreadsheet::WriteExcel module for more powerful
manipulations of data and worksheets. Win32::OLE comes with the
ActiveState Perl toolkit, and can be used to drive a lot of other
Windows applications through OLE. Note that to use this module, you
still need to have the Excel engine (usually installed with Excel
itself) installed and licensed on your machine.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.