|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^2: foreach-loop-local var in subby choroba (Prior) |
| on Jan 21, 2013 at 15:58 UTC ( #1014475=note: print w/ replies, xml ) | Need Help?? |
|
you have changed context and $i is uninitialized within that context and therefor you are going to print zerosNot exactly true. Try with Update: Do not use numbers for testing behaviour, see Re^3: variable declaration question.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||