Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: if statement

by tachyon (Chancellor)
on May 08, 2002 at 05:48 UTC ( [id://164922]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://164922]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-03-28 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found