I think most CPAN hosted modules have no C/XS involved at all. What you will see and might make it look otherwise is that many of the best, most popular modules do have some. Their popularity/utility makes them prime candidates for optimization. Things like XML::LibXML are interfaces to really great packages not written in Perl. The success of these things is predicated on most everyone being in development environments where compiling the stuff is not difficult.

Perl is the only reason I'm a hacker so I mean no slight at all when I say that without the CPAN Perl would come off somewhere between PHP with Asperger's, Anarchist Java, and the abandoned feral child of C+Unix.

As to the CPAN itself, there are mountains of detritus in there but there is also some of the best software engineering around; ranging from brilliant generalization like Moose to completely specific problems like Spreadsheet::ParseExcel. There are hundreds, if not thousands, of nodes on PM discussing the nature of the CPAN.

MST gave a lightning talk at a recent conference about why the detritus is good for the environment too (audio is not good but I found it worth the trouble): You're a terrible person and should never contribute to open source software, ever.


In reply to Re: Have I misunderstood the point of modules or just CPAN? by Your Mother
in thread Have I misunderstood the point of modules or just CPAN? by RAS230

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.