Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

One thing I'd like to see is clear, unambiguous examples. Time and again I encounter examples of some concept, done in a Perlish way that wholly obscures the intended point by including features besides the one being shown. As a brand new Perler (but a long-time programmer), I find this quite frustrating. I bought just about every O'Reilly book on Perl I could get my hands on, and they all seemed to have this problem to some degree.

I think part of the problem is Perl's unique ability to do so much with so little. It's tempting to write multi-faceted examples - in fact, it's hard not to do otherwise. This is great when you're writing a program. It's not good when you're illustrating a point.

So, what I missed were simple examples that displayed one single aspect, and didn't combine several tricks into one short expression. The various tricks are important to know, and often will save time once you know how things work. But from the standpoint of a newbie, they simply confuse, making it that more difficult to grasp the one concept under discussion.

One other feature I missed in books was a simple listing of the various functions, operators, etc. in Perl with a short summary of how they work. This is easily taken care of in perldocs, but it would be nice to have it in book form. I like to read this stuff, and sometimes I don't have a computer handy.

In reply to Re: What's missing in Perl books? by spiritway
in thread What's missing in Perl books? by brian_d_foy

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 lurking in the Monastery: (4)
    As of 2020-05-29 04:55 GMT
    Find Nodes?
      Voting Booth?
      If programming languages were movie genres, Perl would be:

      Results (166 votes). Check out past polls.