Hello youhaveaBigEgo,

Check that Spreadsheet::ParseExcel is installed. When I run your script on Strawberry Perl v5.18.2 (on Windows 8.1), using Spreadsheet::Read 0.66, with debug => 5, it works correctly as follows:

16:01 >perl 1684_SoPW.pl $Options = { 'attr' => 0, 'debug' => 5, 'strip' => 0, 'clip' => 1, 'cells' => 1, 'rc' => 1, 'dtfmt' => 'yyyy-mm-dd' }; Opening XLS tmp.xls using Spreadsheet::ParseExcel-0.65 1 sheets Sheet 2 'Sheet1' 2 x 7 -35,-39,-39,-60,-35,-39, -36,-40,-40,-59,-36,-40, 16:01 >

BTW, your C-style for loops would be better written as foreach loops:

for my $i (1 .. 2) { for my $j (1 .. 6) {

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,


In reply to Re: Unable to read values from Excel file by Athanasius
in thread Unable to read values from Excel file by youhaveaBigEgo

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.