Keeping things "pure Perl" is a valid design constraint, but there's stuff that the vanilla base perl can't do that require external resources. Interfacing with native C libraries, for one instance, which already solve a particular problem pretty thoroughly (e.g. ImageMagick). Another reason why things aren't done in pure Perl is that often there's a speed advantage to manipulating things directly in C.

They're a good idea because they work, they're tested, and they get the job done quickly. And with PAR you can distribute them fairly easily without worrying about the other side's configuration or dependencies or what not.

So no you're not "wrong" to want to stick to pure Perl, you've just chosen to pay more attention to different constraints. Just be aware that there's other approaches and ways to avoid the downfalls you've noted.

The cake is a lie.
The cake is a lie.
The cake is a lie.


In reply to Re: Have I misunderstood the point of modules or just CPAN? by Fletch
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.