my @data; open(DATA, $file) || die "Can't open $file: $!\n"; while () { push @data, [split /\t/]; }