http://qs1969.pair.com?node_id=164922


in reply to Re: if statement
in thread if statement

The while-loop will run forever

Actually this is a very common idiom for reading a file a line at a time.

while(<DATA>) { print; } __DATA__ The while loop will finish now!

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re: Re: Re: if statement
by IndyZ (Friar) on May 08, 2002 at 05:52 UTC
    Whoops. I was looking at a copy that I had pasted into my node, sans <code> tags so it disappeared on me.

    --
    IndyZ