Oh, well, my terminology might be off and, although I think that I can claim to have a relatively good command of the English language, it is not my mother tongue and I may sometimes goof on some fine subtleties, but I was careful enough not to say that (split...) creates an anonymous array, but only that the thing does behave (at least in a number of respects) as if it were an anonymous array. Accessing elements with an index, manufacturing array slices, getting an element count in a scalar context, just to give a few examples, are things that you can do with an array and not with a list. But, OK, I have no desire to argue endlessly on this (especially not with an Anonymous Monk, where I don't even know if the person talking to me is always the same person), let's consider that you were right and forget it. I have no intention to argue any further on this.

In reply to Re^8: Problem with traversing a two dimensional array (to create an arrayref use [ ] ) by Laurent_R
in thread Problem with traversing a two dimensional array by SiNoEvol

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.