perl514:

No, you should leave it on. When you're learning perl (or any other language for that matter), it's good to write in a simple straightforward manner. As you get more experienced and learn more idioms, you'll start writing tighter code.

It's just like talking about a new field. At first you find the language that the experts use hard to understand, and you have to use normal English (or whatever the local language is). As you get more involved in the field, you start picking up the subtleties of the jargon used, and you become familiar with it. It's a gradual process, and you're not usually aware of it. Until someone new comes up to you and starts talking and you become aware of what you learned.

So your node will be immediately useful and easy to modify for someone newer to the language. And the tighter bits will help serve as a Rosetta Stone for people learning more advanced bits of the language. Most of all, have fun with it.

If you're really wanting to learn the weird bits of the language, play with the obfuscations & golf challenges.

...roboticus

When your only tool is a hammer, all problems look like your thumb.


In reply to Re^2: Script to convert HBA WWNs to lowercase and add ":" by roboticus
in thread Script to convert HBA WWNs to lowercase and add ":"[Updated] by perl514

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.