in reply to Continuing While Loop One Iteration After EOF
Assuming, as you imply, that the body of the loop will know what to do when it sees AFTERFILE.while(( $_ = <INHANDLE>) || ($_ = 'AFTERFILE') ){ stuff; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Continuing While Loop One Iteration After EOF
by Corion (Patriarch) on Dec 22, 2005 at 10:18 UTC | |
|
Re^2: Continuing While Loop One Iteration After EOF
by Eimi Metamorphoumai (Deacon) on Dec 22, 2005 at 16:57 UTC | |
by traveler (Parson) on Dec 22, 2005 at 17:15 UTC |