Modules that use XS links to C are a good case in point. They are often difficult to install, with or without CPAN, and no amount of testing is going to get rid of all the difficulties, it's just a hairy system. Many other languages have the capability to dlopen() C libraries and make arbitrary calls against them; I wish Perl were able to do that. If it could, many of the uses of XS could be avoided, which would definitely help - PurePerl modules are very rarely difficult to install in my experience.

You mean something like C::DynaLib? Well, there's a big warning on top of the README of that module:

*********************************************************** *** THIS CODE CONTAINS SYSTEM DEPENDENCIES. *** *** IT WILL NOT WORK ON ALL COMPILERS, MACHINES, OR *** *** OPERATING SYSTEMS. USE AT YOUR OWN RISK. *** *********************************************************** *********************************************************** *** A BETTER WAY TO INTERFACE TO C CODE IS WITH XS. *** *** PLEASE READ THE "perlxs" DOCUMENTATION BEFORE *** *** MAKING EXTENSIVE USE OF THIS MODULE. *** ***********************************************************
Please also note that there may be still systems without dynamic loading.

In reply to Re: Re: Where do Perls come from, Mommy? by eserte
in thread Where do Perls come from, Mommy? by Intrepid

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.