Hmm, not sure about this method, but it works in theory.
open (file.....) while (<FILE>) { $. = 2; # $. holds the number of the last read line .....
I am not sure if it should be the one I posted above or next if $. == 1 or if $. == 2 though. I have no time to check right now. (Also, I am not sure if it starts counting at 0 or 1. Change the numbers accordingly
In reply to Re: move down 2 lines in file?
by Lawliet
in thread move down 2 lines in file?
by annie06
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |