Syntactic Confectionery Delight | |
PerlMonks |
Re^3: Playing with non-localized $_ in nested loops.by ysth (Canon) |
on Aug 23, 2004 at 04:22 UTC ( [id://385005]=note: print w/replies, xml ) | Need Help?? |
The automatic setting of $_ comes from the combination of while() and readline. Just a plain readline won't do it.
Nor does while with just any operator do the implicit assignment.
In Section
Seekers of Perl Wisdom
|
|