I\'m grabbing a few columns from a tab delineated file in Perl. The first line of the file is completely different from the other lines, so I\'d like to skip that line as fast a
Using splice seems to be the easiest and cleanest way to me:
open FILE, "<$ARGV[0]"; my @file = ; splice(@file, 0, 1);
Done. Now your @file array doesn't have the first line anymore.