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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -