in reply to Re^2: Internally, how do for() and while() differ?
in thread Internally, how do for() and while() differ?
Should be documented ( perlsyn ? )
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
see perlop#IO-Operators :
> If and only if the input symbol is the only thing inside the conditional of a while statement (even if disguised as a for(;;) loop), the value is automatically assigned to the global variable $_ , destroying whatever was there previously.
|
|---|