You can start coping pure perl modules to the appropriate places, however this can be a time consuming thing. Say you want to install a fictitious module ACME::Shazam, which you know to be pure perl, you could just copy the files to correct locations, then run some example code which makes use of the module. But, whoops, ACME::Shazam has 10 dependencies, none of which you have two of which are witting in C. It would have been a lot quicker and a much less effort if you used the CPAN client to do this for you.

"when I read that it wasn't clear to me that some modules just contain perl code which can simply be copied to the appropriate location whereas some contain C code which may need to be compiled."

The tutorial I linked to has a section "Installing Modules that include elements coded in C". I appreciate that there may be a lot to read/learn at first, but stick with it, explain what's confusing you as clearly as possible and people can help.

"When i read it I didn't understand why it started talking about C compilers. I just assumed that was something to do with linux I didn't understand"

This isn't a linux specific thing, Microsoft Platforms have the same issue.


In reply to Re^5: Help needed with terminology - different formats of modules by marto
in thread Help needed with terminology - different formats of modules by Anonymous Monk

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.