I guess tobyink means:
my $x='foo'; for $x ('bar') { print "$x\n"; } print "$x\n"; __END__ bar foo
In reply to Re^4: Variable being clobbered by a seemingly unrelated while loop
by Anonymous Monk
in thread Variable being clobbered by a seemingly unrelated while loop
by texh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |