For a grasshopper, just fresh out of the egg, and not really having a license yet to come anywhere near a keyboard, this is decent advice. It's the level of advice you give to a toddler who's about to start crawling. "Hot, don't touch".

Anyone who has half a braincell he can fire up once a blue moon, however, will see how silly that is.

A lot of code doesn't sort. Most code that does sort, doesn't even use the variant that makes Perl stuff $a and $b. And even if you do, even then you have to work hard to make a use of $a and $b make things mess up.

If you really need to have a Pavlov reaction when you see an $a and/or a $b, and blind yourself from the fact a poster may have used well known example variable names, please keep your urges private, and don't hit that "create" button. It doesn't add any value.


In reply to Re^4: the variable is lost by JavaFan
in thread the variable is lost by cruise

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.