![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Re: question about $_ and eofby rinceWind (Monsignor) |
on Mar 13, 2002 at 11:31 UTC ( #151346=note: print w/replies, xml ) | Need Help?? |
Just to clarify one point about 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.
In Section
Seekers of Perl Wisdom
|
|