![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Scoping Rules For "our" Variablesby wind (Priest) |
on Jun 25, 2011 at 22:38 UTC ( [id://911414]=note: print w/replies, xml ) | Need Help?? |
Variable and package names are case sensitive. Simply replace that with $Foo::x and $Bar::x use strict and use warnings would've alerted you to the problem.
In Section
Seekers of Perl Wisdom
|
|