![]() |
|
more useful options | |
PerlMonks |
Re: Global symbol requires explicit package nameby choroba (Cardinal) |
on Nov 28, 2012 at 14:53 UTC ( [id://1006042]=note: print w/replies, xml ) | Need Help?? |
You are confusing lexical and dynamic scope. See What's the difference between dynamic and lexical (static) scoping? Between local() and my()? A subroutine should obtain the data through arguments, not variables.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|