Basilides has asked for the wisdom of the Perl Monks concerning the following question:
Basically, what happens when i install something using the CPAN module? It runs nmake but what does that do? The files unzip to C:/.cpan/build/Spreadsheet-ParseExcel-0.2602, for example (incidentally, as you can see I'm a Windows user). When I want to use the module however,
can't find it. So I could douse strict; use Spreadsheet::ParseExcel;
but that can't be right surely. So I could set up a new folder in C:/perl/lib/ called Spreadsheet, and copy everything in there? Is that what people do? With every single module they download?use strict; use lib "C:/.cpan/build"; use Spreadsheet-ParseExcel-0.2602::ParseExcel;
If anyone could, in the simplest possible terms, talk me through installing, and then useing a module, using the CPAN command line (I know there's PPM, but I've started with this one, so I'd like to see it through) I'd be so grateful. If you could tell me what the stages make, test, install actually do, that'd be interesting too.
Cheers
Dennis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: More CPAN woe
by hardburn (Abbot) on Jan 21, 2003 at 17:19 UTC | |
|
Re: More CPAN woe
by foxops (Monk) on Jan 21, 2003 at 17:12 UTC | |
|
Re: More CPAN woe
by glwtta (Hermit) on Jan 21, 2003 at 17:23 UTC | |
|
Re: More CPAN woe
by logan (Curate) on Jan 21, 2003 at 19:40 UTC | |
|
Re: More CPAN woe
by phydeauxarff (Priest) on Jan 21, 2003 at 17:41 UTC | |
by Anonymous Monk on Jan 21, 2003 at 17:50 UTC | |
|
Re: More CPAN woe
by Brutha (Friar) on Jan 22, 2003 at 12:20 UTC |