chomp(my @file2 = ); while () { print unless @file2 ~~ (split /\t/)[1]; }