in reply to Going to a specific line in a file.

#!/usr/bin/perl open file,"./testFile.txt" or die; while (<file>) { next if (1..6); --> this skips the first 6 lines. print "$_\n"; }
  • Comment on Re: Going to a specific line in a file.