in reply to Re^2: Closures and scope of lexicals
in thread Closures and scope of lexicals
But it's supposed to be file-scoped. $i is scoped to the file in the OP's code. Your suggested change would make the code different than the OP's code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Closures and scope of lexicals
by LanX (Saint) on Oct 31, 2024 at 14:31 UTC | |
by ikegami (Patriarch) on Oct 31, 2024 at 14:35 UTC | |
by LanX (Saint) on Oct 31, 2024 at 14:37 UTC | |
by ikegami (Patriarch) on Oct 31, 2024 at 14:39 UTC | |
by LanX (Saint) on Oct 31, 2024 at 14:42 UTC | |
| |
by ikegami (Patriarch) on Oct 31, 2024 at 14:38 UTC |