- or download this
for( my $i = 0; $i < 1_000_000; $i++ ) {
print join ' ', map { int rand 256 } 0 .. 50;
print "\n";
}
- or download this
my @d; $#d = 1_000_000; # presize the array!
my $i = 0;
...
chomp;
$d[$i++] = [ split ];
}
- or download this
$d[$i++] = [ map { int $_ } split ];