Sorry if my remark gave offense... but my point is that both for and foreach deal equally well -- and effectively identically -- with Linguist's problem as indicated by the example code in my previous post. Each will cheerfully increment and/or bounds-check (stricken when I engaged brain and realized that I haven't offered an example of bounds-checking in a Perl-style for loop nor can I think of one now) with either C-style or Perlish iterators.

You believe your mnemonic use of different words is useful to you. I, therefore, believe that para 1 is probably absolutely valid for you. My objection is that para 1 of your earlier post is only a personal opinion (as is this para and the next)... and is phrased in a manner likely to be "misleading" on any question of functionality.

"Yes," "ja" and "oui" are equivalents even though they are different words ... but addressing a multi-lingual audience it would surely be unwise to suggest that English speakers would be better served in daily life by using "oui" or that Germans should say "oui" or "yes" as an affirmative.


++$anecdote ne $data



In reply to Re^4: looping in 2d array by ww
in thread looping in 2d array by Linguist

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.