in reply to move down 2 lines in file?

Hello, what you do seems right, but could do with some improvement. Consider not asigning the line you want to skip to anything. And if you want to skip a arbitrary number of lines you can use a foreach loop.
open (file.....) while (<FILE>) { if /blah/ { <FILE>; # Skip one line <FILE> foreach(1..$skip); # Skip a numer of lines