Are the files big? If not, say each file <50M, I would read all the excel files using Spreadsheet::ParseExcel and create some dbm-like database (perl hash on disk) with some extra fields to later ease up your task of summarizing the data.

For this simple "database" the modules AnyDBM_File, MLDBM or DBM::Deep come to mind or even simple serializing to a file using YAML o Data::Dumper-like modules.

Maybe you can use a common origin in days to facilitate the drawing of a chart or table so that a pre-calculated record could be: issue, date0, date1, date1 - date0 (in days), day0, day1 (day0 and day1 taken with respect to an arbitrary origin -- easy to do with Date::Manip or Date::Calc). For the drawing I would use one of the Chart::* modules or gnuplot.

cheers --stephan

In reply to Re: Scripting data extraction from excel files in a directory. by sgt
in thread Scripting data extraction from excel files in a directory. by ark989

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.