Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: 2d arrays in Perl?

by physgreg (Scribe)
on Aug 21, 2002 at 08:39 UTC ( [id://191673] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    push @{$thePupils[23]{"CourseCodes"}}, "99-A";
    push @{$thePupils[23]{"CourseCodes"}}, "99-B";
  2. or download this
    print ${$thePupils[23]{"CourseCodes"}}[0];
    print ${$thePupils[23]{"CourseCodes"}}[1];