It's not the condition you would want to check, it's the variable (e.g. $line).
-----Original Message----- From: Melvin Smith [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 3:15 PM To: Tzadik Vanderhoof Cc: [EMAIL PROTECTED] Subject: RE: Night of the Living Lexical (sequel to Apoc4: The loop keywor d) 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> ) { I think many people just "expect" it to work the other way. If I recall, C++ originally worked this way (at least some compilers) and went the other way. -Melvin