What is the best way to read in excel files on windows using perl?

I am on a winxp machine, with activestate installed. Since my perl is better than my vba, and I like perl better than vba, but I work with excel a lot, I have done some research on the various ways to deal with excel using perl.

spreadsheet::writeexcel is installed and working nicely. There are lots of little examples included which demo how it works, which I like a lot. But this is mainly for writing excel files.

What about reading excel in? I will be munging in many autogenerated excel click reports from various search engines we're working with. (Some have cvs export but not all, or I would be going with text::xsv, which seems a little easier.)

Unfortunately spreadsheet::parseexcel doesn't seem to have any examples included :( so I couldn't easily verify that everything works, or how well it works. Hoping to get some feedback here!

Cultured Perl: Reading and writing Excel files with Perl claims that on windows

"Win32::OLE is the easiest way to get Excel data right now, although the Spreadsheet::WriteExcel and Spreadsheet::ParseExcel modules are catching up."

Is this still true? (Article is a year old.)

Should I use spreadsheet::parseexcel or is it still too beta?


In reply to Best way to read excel files? by tphyahoo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.