"be consistent" | |
PerlMonks |
Re^2: difference between my and localby Eimi Metamorphoumai (Deacon) |
on Nov 15, 2005 at 14:10 UTC ( [id://508617]=note: print w/replies, xml ) | Need Help?? |
I'm not quite sure what you're getting at, but you can certainly get the global value from anywhere, without using local. Observe:
The best rule of thumb is to use my unless you have some particular reason to use something else.
In Section
Seekers of Perl Wisdom
|
|