Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Already the first question is almost tl;dr plz consider different posts next time.
You should use local only within the target scope, but your applying it before use, which is problematic. Module code outside subs is executed, that's why the effect of local is negated again.
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :) In reply to Re: Seeking the right way to override global variables
by LanX
|
|