how to generate a new array in perl each time a loop runs -


this question has answer here:

i running loop , each time need store information in new array. how generate new array each time loop runs @array1, @array2 , @array3 , on?

what want array of arrays, i.e. multi-dimensional array.

my @arrays; $i(0..10) {     $arrays[$i] = ['data1', 'data2']; }  print $arrays[0][0]; print $arrays[0][1]; 

Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -