Do you know where your variables are? | |
PerlMonks |
Re^3: Are global variables "bad"?by Corion (Patriarch) |
on Apr 21, 2009 at 20:59 UTC ( [id://759115]=note: print w/replies, xml ) | Need Help?? |
local only works on global variables. It puts a temporary value into the global variable until the current block is left. Also see Seven Useful Uses for Local.
In Section
Seekers of Perl Wisdom
|
|