Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: 2d arrays in Perl?

by blokhead (Monsignor)
on Aug 21, 2002 at 17:19 UTC ( [id://191798] : note . print w/replies, xml ) Need Help??


in reply to Re: 2d arrays in Perl?
in thread 2d arrays in Perl?

Instead of this..
print ${$thePupils[23]{"CourseCodes"}}[0]; print ${$thePupils[23]{"CourseCodes"}}[1];
Why not just do...
print $thePupils[23]{"CourseCodes"}[0]; print $thePupils[23]{"CourseCodes"}[1];