|
|
| "be consistent" | |
| PerlMonks |
Re: Re: Re: When does while() test for defined vs truthby japhy (Canon) |
| on Dec 17, 2001 at 08:35 UTC ( #132467=note: print w/ replies, xml ) | Need Help?? |
|
When Perl sees you using <FH> or $var = <FH> in a while (or until), it will insert the defined() for you. From perlop in bleadperl: The following lines are equivalent:(...)
_____________________________________________________
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||