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
You can just assign it a dummy variable for the 1st time:
#!/usr/bin/perl
use strict;
use warnings;
open my $fh, '<','a.txt' or die $!;
my $dummy=<$fh>; #First line is read here
while(<$fh>){
print ;
}
close($fh);