Ouch indeed :D

I have been visiting perlmonks for 10 years and never seen that once, and I did write the c-style version at least 5 times.

Correction, I did see it once last year in Re: Perl v5.13.7 is released, but it wasn't in actual code.

Its not that surprising, there is no example in each documentation.

I did a super search for "each @" and only found this 3 instances of actual use in 10 years (search yielded ~47 nodes, "each@" yielded 4 nodes ) (newest first)

This is worthy of poll quest.

update: Oh, it wasn't available until 12 Apr 2010 ( p5123-keys, values work on arrays), now I don't feel so bad :)


In reply to Re^4: Reading Multiple Input Files by Anonymous Monk
in thread Reading Multiple Input Files by BoulderBuff64

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.