in reply to More Scope related questions.
but without that, the expected behaviour
:) First you learn the rules, then you can have expectations realistic expectations
If you're expecting a different behaviour, you're expecting according to another set of rules, not perl's set of rules :)
Tutorials: Variable Scoping in Perl: the basics, Coping with Scoping , Mini-Tutorial: Perl's Memory Management, Lexical scoping like a fox, Read this if you want to cut your development time in half!, Closure on Closures
|
|---|