I am pleased with the first five responses in this thread. I was trying to start an broad discussion.

I'll re-emphasize my first point: I was not expecting this small practice to improve my Perling so much, so quickly. I wanted to advertise this to others. I thank Merlyn again for his post.

In the second part of my post I was trying to expose my cognitive state in dealing with the syntax of Perl. I hoped to elicit from my Perl betters some explanation of their mental process in parsing or reading code.

I feel that I mentally gloss over opening parentheses, braces and such, and that the bad habit comes from reading simple code. I wondered if the more fluent readers of Perl just do what I do, but better, or if there is some redirect or quirk at a parenthesis whose partner is not in sight.

Be well.


In reply to Re: small steps toward Perl literacy, temp vars and parentheses by rir
in thread small steps toward Perl literacy, temp vars and parentheses by rir

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.