XP is just a number | |
PerlMonks |
Re^5: Recover a variable from a loopby hippo (Bishop) |
on May 26, 2016 at 09:36 UTC ( [id://1164180]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|