Sorry, we never treat people badly around here, and it just happens that today everyone's feeling a little frisky.

Seriously, though, I don't think that anybody feels like they should lay off, and I think you're going about it the wrong way. You asked for help on a question that was easily found in the search with many results. You got appropriate answers. Nuff said.

Plus, nobody in their right mind would avoid foreach if it made sense to use it, which in this case, you can get away with sort @ip_addresses so you don't have to use it. You just happened to commit two personal sins of the monastery. Asking a question that has been answered to death, and phrasing it as if it was homework. (no judgement on the truth, but initially, I read it and though homework, esp. w/ the explicit use of ugly HTML tags in your post)

Now, you've been flogged, and next time you post, you won't make the same mistake. We've all done it, and we all got over it.

ALL HAIL BRAK!!!


In reply to Re: Re: sort @array help by PsychoSpunk
in thread sort @array help by symŽ

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.