Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Note: This review originally appeared in the Spring 2005 issue of The Perl Review.

The latest offering from Randal Schwartz is a compilation of articles he has published over the years in Web Techniques, The Perl Journal, Linux Magazine, and SysAdmin. My first question before I even opened the book was, "How well can a 10-year-old Perl article age?" I'm happy to say the answer is amazingly well.

Nearly every article in the book has a brief comment from the author noting things that he might do differently now or the existence of a module that wasn't available at the time. Even for the older articles, these intros are amazingly short, illustrating how well the material has held up. And even when there may be a newer solution to a problem solved in an article, nearly all of the old code still works (and is available for download from the Apress website).

The articles are written in Randal's familiar easy-to-read style and the topics range from general perl tutorials to text processing to handy web tools. And since they were originally formatted for a magazine, the length is uniform and you can easily read one or two in a sitting.

In some articles, a problem is presented and briefly discussed, and then the final coded solution is disected line by line. For this format, I tend to read the introduction then flip to the code. When there is a section of code is a bit sticky, I refer back to the analysis of those lines.

While those articles are interesting, I most enjoyed the articles that start with a simple idea and meander toward more complicated concepts. Reading these articles is like sitting in the kitchen with the chef while he explains the dish as he prepares it. The others are a bit more like seeing the finished product and getting a detailed copy of the recipe.

The sections with long code listings tend to be solutions to specific problems and you could implement these solutions from the code almost as-is. The tutorial type articles are more interesting to read and they teach general principles that you could apply to problems of your own. All of the articles in this collection are well worth reading (or re-reading) and this book would make a good addition to any Perl programmer's bookshelf.

In reply to Perls of Wisdom by cbrandtbuffalo

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (4)
    As of 2020-06-04 18:47 GMT
    Find Nodes?
      Voting Booth?
      Do you really want to know if there is extraterrestrial life?

      Results (35 votes). Check out past polls.