Front page | perl.beginners |
Postings from February 2002
help to delete a line
Thread Next
From:
Joanne Fearon
Date:
February 27, 2002 09:24
Subject:
help to delete a line
Message ID:
Pine.BSF.4.40.0202271717060.83922-100000@bell.maths.tcd.ie
Hi,
I have a file that I am chopping and changing. I want to delete line 12
each time. I have a counter to tell the line number. Ive tried
if ($counter == 12)
{
next;
}
$counter++
this doesn't give an error but doesnt move on to the next line either.
thanks in advance for any help
Jo.
Thread Next
-
help to delete a line
by Joanne Fearon