Quote:
Originally Posted by shifter
I want remove rows.
For example within file with 10 rows I 'd like remove rows 7 and 8.
|
You open input file for reading and output file for writing.
You create a counter of input file lines (actually, there is a buil-in one, so you can use it too). If your counter is less than 7 or greater than 8 you copy lines from input file into output file, else not.
Read
perldoc -f open
.