Joanne Fearon wrote:
>
> Hi,
Hello,
> 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
: 27 February 2002 17:20
To: [EMAIL PROTECTED]
Subject: help to delete a line
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
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