in reply to Re: question about $_ and eof
in thread question about $_ and eof

Just to clarify one point about
while (<STDIN>)
Q: Why does this not stop on a blank line?

A: <STDIN> is returning a newline character '\n', which is true. In practice, regardless of O/S, you never get the empty string or a bare 0, hence the only false value you encounter is undef.