in reply to Re^3: Can you read a false value from a file?
in thread Can you read a false value from a file?

No, I misread the whole thing - sorry.

Is it documented anywhere that

while (my $line = <FH>)

is equivalent to

while (defined(my $line = <FH>))

Replies are listed 'Best First'.
Re^5: Can you read a false value from a file?
by bart (Canon) on Feb 11, 2006 at 13:42 UTC
    But it used not to be that way, the implicit defined got added. In fact, your description is precisely why it got changed. Even more: if one of the files in the middle of a files list ended wit a bare "0", the rest of the files were just dropped.