If that is something you are interested in, you may take notice of a previous meditation on a very similar subject. I disagreed with that one, too.

As a counterpoint was a recent challenge of mine. Though spiritway basically said the same as you, davido's response was bang on: there is much to be learned when exploring corner cases.

The thing to always remember is that, while there are some really truly bad ways to do some things (see the above thread for some hideous examples ;-}), you need to know lots of ways to do something because what you did last time as part of a simple application may not apply in a CGI environment, or a client-server environment. With encryption. Or tainting. A key point of TIMTOWTDI is that there is also more than one scenario in which you may want to do it. And thus the "superior" answer for last time may be second-rate in the new environment. Luckily, knowing so many ways to do something means I can adapt something a bit different for this one.

PS: You should always use The Right Way for your scenario. I'm just saying that you should know many ways so you can evaluate them and pick the real right one, not the right one for a different scenario.


In reply to Re^2: Ovid's "Please Stop Using Perl 3" by Tanktalus
in thread Ovid's "Please Stop Using Perl 3" by Scott7477

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.