Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Apache/CGI fcould not use Spreadsheet::ParseExcel

by Anonymous Monk
on May 08, 2019 at 17:39 UTC ( [id://1233465]=note: print w/replies, xml ) Need Help??


in reply to Apache/CGI fcould not use Spreadsheet::ParseExcel

Are you in fact using the same Perl executable for both command line and CGI? If not, that would explain your problems. The @INC looks like a system Perl, which would not normally look for modules in your personal directory.

If you are using the system Perl, you should use the system's package manager to install modules. Using the cpan client (or its variants) can cause considerable grief, as I have learned from sad experience, and as you may be learning now. If there is no package for this module, you should probably custom-build your own Perl, and that's not a bad idea anyway, as the previous responder pointed out.

If you are using a custom-built Perl, did you install it in a system-wide directory and then take the local::lib installer option when you initialized CPAN? You want the sudo option in this case.

Replies are listed 'Best First'.
Re^2: Apache/CGI fcould not use Spreadsheet::ParseExcel
by PhillipHuang (Beadle) on May 09, 2019 at 09:13 UTC

    Resolved: install the Spreadsheet::ParserExcel and Spreadsheet::WriterExcel manually.

    "Using the cpan client (or its variants) can cause considerable grief, as I have learned from sad experience, and as you may be learning now. " I have learned just now, :-)

    Thank for all your kindly help.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-16 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found