in reply to for loop localisation bug?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: for loop localisation bug?
by BrowserUk (Patriarch) on Dec 29, 2003 at 19:35 UTC |