Hello and welcome!

How do you run your Perl program on Windows? There are several Perl ports to Windows (ActiveState, Strawberry), and some of them already have some non-core modules preinstalled as part of distribution. While on Unix systems Perl distribution contains only base (or core) modules of Perl itself.

So the error is quite explanatory: some of dependencies couldn't be loaded, and it seems that module SpreadSheet::ParseXLSX have quite a number of them. And if on Windows your program works, and on Linux it doesn't, then it's quite possible that your Windows Perl distribution have those dependencies while Linux Perl distribution have not.

Don't use modules by unpacking them into 'lib' dir. You should install modules with package manager of your OS instead, or with Perl CPAN module using its 'shell' function like this (from command prompt on Linux):

> sudo perl -MCPAN -eshell

and then in CPAN shell prompt:

> install SpreadSheet::ParseXLSX

In reply to Re: Read Excel file via Perl by alexander_lunev
in thread Read Excel file via Perl by AE1602

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.