I'd like to comment a moment on some of the author's points... from my perspective the crticism that resonated the most with me was the reference to the "UNIX in-crowd." When I was learning Perl I didn't take a class, or read Learning Perl... I learned it from the 2nd Edition of the Camel. This was both a good thing (I liked Larry et al's writing style) and extremely frustrating, because I didn't come from a UNIX background. ("ls" and "chmod" were about the only UNIX commands I knew.) Everytime the book said "Perl function x works just like y in UNIX" I had to go spend (sometimes hours) trying to figure out what the heck that meant. It was very frustrating.

Now, admittedly the 3rd Edition has corrected much of this (that was one of the things responsible for its impressive girth) but it was (is?) a valid criticism.

However, I thought the section on CPAN modules getting in the way of portable code was misguided. Yes, distributing (and maintaining) a Perl program that uses some bizarre confluence of modules is a pain, but that's not what Perl is for. Perl is NOT designed for creating one-size-fits-all solutions, which means that there are very few pre-packaged, ready-to-go out-of-the-box, for-pay Perl programs. That's not a bug, it's a feature. Perl isn't designed to solve everyone's problems, it's designed to solve your problem. Your problem, on your platform, on your hard drive, on your server. The nature of the language makes that easy to do (heck, it even makes it fun) but a solution cannot simultaneously be unique (for me) and generic (for everyone) at the same time. Complaining that Perl isn't really "portable" is like complaining that your custom-made suit doesn't fit your grandmother. Well of course it doesn't. It wasn't meant to.

Gary Blackburn
Trained Killer


In reply to Re: Perl's warts by Trimbach
in thread Perl's warts by grinder

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.