But the "implicit test for defined" is built into the while( ) by language design, there is no extra magic about that in any context?perl -le'while($a = 0){print "$a ok\n"; last }' # perl -le'while($a = 1){print "$a ok\n"; last }' # prints 1 ok
In reply to Re^4: <STDIN> not initializing $_
by stiller
in thread <STDIN> not initializing $_
by carol
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |