Thank you both for the responses. I still get an error (following the advice in the first response). When I do, for instance:

print ("1st: $array1[0]"); print ("2nd: $array1[1]"); print ("3rd: $array1[2]"); print ("4th: $array1[3]"); print ("5th: $array1[4]"); print ("6th: $array1[5]"); print ("7th: $array1[6]"); print ("8th: $array1[7]"); print ("9th: $array1[8]"); print ("10th: $array1[9]"); print ("11th: $array1[10]"); print ("12th: $array1[11]");
I get the following error:
1st: ARRAY(0x7fd4bb012010) 2nd: ARRAY(0x7fd4bb02f768) 3rd: ARRAY(0x7fd4bb0120a0) 4th: ARRAY(0x7fd4bb012028) 5th: ARRAY(0x7fd4bb012070) 6th: ARRAY(0x7fd4bb02f648) 7th: ARRAY(0x7fd4bb045e80) 8th: ARRAY(0x7fd4bb0462e8) 9th: 10th: 11th: 12th : Use of uninitialized value $array1[8] in concatenation (.) or string Use of uninitialized value $array1[9] in concatenation (.) or string Use of uninitialized value $array1[10] in concatenation (.) or string Use of uninitialized value $array1[11] in concatenation (.) or string
The strange thing is I have 9 arrays (array1, array2, ..., array9) in my array of arrays. But even when I am only calling array1 (which should have ~200 indices), it seems to be considering each array in the array of arrays as simply an index in the first of its arrays??


In reply to Re^2: Array of arrays by SuzuBell
in thread Array of arrays by SuzuBell

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.