and then access them like this:push @{$thePupils[23]{"CourseCodes"}}, "99-A"; push @{$thePupils[23]{"CourseCodes"}}, "99-B";
print ${$thePupils[23]{"CourseCodes"}}[0]; print ${$thePupils[23]{"CourseCodes"}}[1];
In reply to Re: 2d arrays in Perl?
by physgreg
in thread 2d arrays in Perl?
by jotti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |