Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: can't locate crypt/RC4.pm in @inc

by marto (Cardinal)
on Sep 07, 2016 at 09:13 UTC ( [id://1171304]=note: print w/replies, xml ) Need Help??


in reply to Re^2: can't locate crypt/RC4.pm in @inc
in thread can't locate crypt/RC4.pm in @inc

This strategy won't work well unless you know exactly what you're doing, for example this won't install dependencies or do any testing to ensure your setup will work. Modules usually have an INSTALL or README file which explain installation. A more sensible approach would be to use cpan or cpanm to do all of this for you:

cpan Spreadsheet::ParseExcel cpanm Spreadsheet::ParseExcel

cpan is core so you don't need to install it, cpanm requires installation but has it's advantages also. These tools will download the module, install any dependencies, run the test suite then install.

Update: fixed typo.

Replies are listed 'Best First'.
Re^4: can't locate crypt/RC4.pm in @inc
by ankit.tayal560 (Beadle) on Sep 07, 2016 at 12:38 UTC

    when tried to do according to README file after I do Makefile.PL it hungs up and shows an error"prerequisites no t found"

      Of course, because you haven't got the prerequisite modules installed, which is why I suggested using cpan/cpanm. Simply copying files will not resolve the dependencies for you. If you are determined to ignore the advice of using one of the tools I previously mentioned, you'll need to manually install all of the prerequisites, and their prerequisites....

        I also tried with cpan it showed me huge bunch of lines and at the end it showed me could not fetch modules?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-20 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found