in reply to Re: How do you read the next line in a file while in a loop?
in thread How do you read the next line in a file while in a loop?

Thanks Blake, I like your code it looks really close to what I want, but I don't want ', other stuff' it would be another section of data. It would be like..
ON Mon, Tues, Fri EXCEPT Sun, Mon And I would want ouput like on = Mon,Tues,Fri execpt = Sun,Mon
Maybe I am not explaining myself well.

Replies are listed 'Best First'.
Re: Re: Re: How do you read the next line in a file while in a loop?
by blakem (Monsignor) on Aug 31, 2001 at 03:04 UTC
    Have you tried replacing the data after __DATA__ with the data you have provided here? I think it already works that way....

    -Blake