Hello, I am a bit new to Perl, but here is what I want to do:
my @array2d;
while(<FILE>){
push(@array2d[$i], $_);
}
It doesn't compile since @array2d[$i]
is not an array but a scalar value.
How sould I declare @array2d as an array of array?
Of course, I have no idea of how many rows I have.