in reply to Re^4: last in a do while loop (for (;;))
in thread last in a do while loop
while(<AFile>) { if(found keyword) do{ process keyword and next few lines if(done processing){ last } }while(<AFile>); # do some post processing } # Continue processing after this in the same file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: last in a do while loop (for (;;))
by ikegami (Patriarch) on Jan 23, 2008 at 21:49 UTC | |
by JimmyDa (Initiate) on Jan 25, 2008 at 16:10 UTC | |
by ikegami (Patriarch) on Jan 26, 2008 at 02:32 UTC | |
|
Re^6: last in a do while loop (for (;;))
by rir (Vicar) on Jan 23, 2008 at 17:46 UTC |