Oh dear, I know this is the silliest question, even more basic than yesterday's, but I'm finding that getting started on CPAN assumes a degree of intelligence and general computer competence which is sadly beyond me. Help me out this time and I promise I'll stop pestering you about it...

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,

use strict; use Spreadsheet::ParseExcel;
can't find it. So I could do
use strict; use lib "C:/.cpan/build"; use Spreadsheet-ParseExcel-0.2602::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?

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


In reply to More CPAN woe by Basilides

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.