I think the lesson here is this: We all need to remember that while CPAN is a very comprehensive archive, the modules within may not be entirely comprehensive in the features we may think they're supposed to provide

I would say it's more like "be sure to read the POD and look at the dependencies of a module before you go to the effort of installing it." It looks like one of the first statements in the POD is that it only supports MySQL and Pg. POD and dependencies are available for pretty much every module on either of the CPAN search engines, and I never install anything without checking it out on there first.

However, your install difficulties teach another lesson: be careful about adding dependencies on XS-based modules if you want your module to run on Win32.

The flip side of that is that you have to realize that many people are not targetting Win32. It may have a majority of desktops (though surely not 98% as you say), but Linux/BSD is the most common platform for Perl development and has been for years. Win32 support in Perl is amazingly good, but the users on that platform are still a minority, and have to expect a bit more difficulty getting some things to work. It's like being a gamer on a Macintosh: the best stuff typically gets ported, but not everything, and sometimes you have to wait a little while.


In reply to Re: On installing modules with CPAN.pm by perrin
in thread On installing modules with CPAN.pm by Stevie-O

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.