Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Read Excel file via Perl

by alexander_lunev (Pilgrim)
on Sep 17, 2018 at 17:50 UTC ( [id://1222527]=note: print w/replies, xml ) Need Help??


in reply to Read Excel file via Perl

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1222527]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-23 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found