in reply to Re^4: Recover a variable from a loop
in thread Recover a variable from a loop
Declare $white outside the loop if you want to access it from outside the loop - eg. declare it where you declare $self. See Coping with Scoping.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Recover a variable from a loop
by Chaoui05 (Scribe) on May 26, 2016 at 09:49 UTC | |
by Laurent_R (Canon) on May 26, 2016 at 21:08 UTC |