Maybe it won't seem so much like a bug if it is demonstrated in a more familiar form:
local $_ = "I live!\n"; for (1..100) { printf "\r%d", $_; last if $_ == 50; } print "$/The value of 'this' after the loop is $_$/";
After Compline,
Zaxo
In reply to Re: for loop localisation bug?
by Zaxo
in thread for loop localisation bug?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |