Conclusion: always define global subroutines
You have no choice. Named subroutines are always global. You're lying to yourself when you said "local f".
What is a strange behavior is that variables got stuck with a value,
Why do you think that creating a variable somewhere should replace a variable in some unrelated sub?
In reply to Re^2: closure clarity, please
by ikegami
in thread closure clarity, please
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |