Syntactic Confectionery Delight | |
PerlMonks |
Re^2: closure clarity, pleaseby ikegami (Patriarch) |
on Nov 24, 2009 at 18:12 UTC ( [id://809160]=note: print w/replies, xml ) | Need Help?? |
You have no choice. Named subroutines are always global. You're lying to yourself when you said "local f".
Why do you think that creating a variable somewhere should replace a variable in some unrelated sub?
In Section
Seekers of Perl Wisdom
|
|