my %hash; while () { chomp; my @line = split("\t"); push(@{$hash{$line[1]}}, [@line]); }