Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want a more efficient way of referencing and loading data into an array without using multiple array variables(a,b,c etc..)
Is that called a multidimensional array?
while($num<10) { $num++; $data1="some random data from source 1"; $data2="some random data from source 1"; $data3="some random data from source 1"; $a($num)=$data1; $b($num)=$data2; $c($num)=$data3; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I use/reference Multidimensional hashed arrays?
by Crulx (Monk) on Jan 21, 2000 at 04:38 UTC | |
Re: How do I use/reference Multidimensional hashed arrays?
by codeacrobat (Chaplain) on Mar 26, 2006 at 10:57 UTC |
Back to
Seekers of Perl Wisdom