uva has asked for the wisdom of the Perl Monks concerning the following question:
how to create multi dimensional arrays in perl.since what ever we give, like
,it takes and print the value. how can we limit the size eg : in c we give$array[1] [2]='help'; print $array[1][2]; and $peanut[0]->[0]->[0] ='cracked'; print $peanut[0]->[0]->[0] ;
"int dim[3] [4];"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: need help in creating multi dimensional array
by davorg (Chancellor) on Feb 10, 2006 at 11:44 UTC | |
by misterb101 (Sexton) on Feb 10, 2006 at 14:51 UTC |
Back to
Seekers of Perl Wisdom