Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^8: last in a do while loop (for (;;))

by ikegami (Patriarch)
on Jan 26, 2008 at 02:32 UTC ( #664415=note: print w/replies, xml ) Need Help??


in reply to Re^7: last in a do while loop (for (;;))
in thread last in a do while loop

redo is usually good for that.
while (<$fh>) { chomp; if (... && !eof($fh)) { $_ .= <$fh>; redo; } ... }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2023-10-04 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?