>>>>> "R" == Ruud <[email protected]> writes:
R> Jeff Peng wrote: >> so how about while (my $line = <FILE>) instead of using $_? R> Evil! An empty line, or a line with only a "0" in it. empty lines (a single newline) is always true. the defined case only handles the odd trailing partial line with just '0' in it. it is the only way a <> without defined would lose some data as it is false. uri -- Uri Guttman ------ [email protected] -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
