At 03:14 PM 1/21/2002 -0500, Melvin Smith wrote: >At 03:02 PM 1/21/2002 -0500, you wrote: >>Why all the fuss? Often, you would *want* to access that lexical after the >>loop terminates, for instance to check how it terminated. > >Why would you want to check it when the condition is typically boolean? > > while( my $line = <FILE> ) {
Well let me rephrase, I see what you mean. (If a terminating condition was met inside the loop then you might check it); what I meant was the typical situation is the "while not EOF" or "while still MUNCHING". -Melvin