Calm your temper, brother.
  1. My snippets were incomplete only insofar as they didn't include an array of test data - which by his second post the original author obviously had already understood how to construct.
  2. But this is a novice asking a Perl question. Theorizing without any relevance to his reality is meaningless. Besides, I would discourage the style your code displays in any setting. And obviously it doesn't generate any warnings when you switch warnings off; switch them on and see how many it gives you.
  3. I did not boast anything. I am not here to prove myself a better programmer than you or anyone, I am here to learn and, where possible, help others learn. If you do not want to be taught, that is your choice, but a pity.
  4. Sorry, but when I see bad code (and sorry, but I can't bring myself to call it anything else), especially in a post replying to a newbie who seeks advice, then I feel compelled to offer correction - lest the newbie gets into habits he will have to unlearn again later. The intentions you read into my post do not exist. But I believe that the intentions people read into other people's actions are a reflection of their own self.

Makeshifts last the longest.


In reply to Re^4: Sorting CSV array by Aristotle
in thread [untitled node, ID 178427] by Samn

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.