Hi all,

I want to basically make a multidimensional array. My problem is I don't want to have to explicitly declare 20 arrays and then my other other reference all 20 of them. But rather have 2 foreach loops:

Code:
foreach my $i (0 .. 6){
  foreach my $j ( 0 .. 30){
    $snps[$i] = \new @array()
  }
}
Where new @array() just makes an array without any explicit name. Obviously the above code doesn't work. I hope I make sense...is there anyway to do this?