I'm Trying to read xls and xlsx files . As far as I'm aware I have downloaded and installed all the correct modules. However when I run The Code I encounter this error message. (BELOW)

I'm strugging to breakdown and understand the message as to what perl is telling me. Any help or suggestions would be gratefully received and appreciated

Can't locate Spreadsheet/ParseExcel/Simple.pm in @INC (@INC contains: +C:/Strawberry/perl/site/lib/MSWin32-x86-multi-thread C:/Strawberry/pe +rl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib .) a +t C:\perl_tests\readxls.PL line 6. BEGIN failed--compilation aborted at C:\perl_tests\readxls.PL line 6. Press any key to continue . . .
My Pl file is below
#!/usr/bin/env perl use strict; use warnings; use Spreadsheet::ParseExcel::Simple qw(); my $xls = Spreadsheet::ParseExcel::Simple->read("To_read.xls"); foreach my $sheet ($xls->sheets) { while ($sheet->has_data) { my @data = $sheet->next_row; print join "|", @data; print "\n"; } }

In reply to Module location and Setup Error Message. by Anonymous Monk

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.