"be consistent" | |
PerlMonks |
Re^3: OUR declarationby perrin (Chancellor) |
on Sep 23, 2006 at 04:05 UTC ( [id://574484]=note: print w/replies, xml ) | Need Help?? |
If you want a global variable, i.e. one that can be read from other packages and does not go out of scope, then you either spell the whole thing out ($SomePackage::Variable) or use our so you can say ($Variable) within that file.
In Section
Seekers of Perl Wisdom
|
|