http://www.perlmonks.org?node_id=779669


in reply to What is it I don't understand about perl scoping?

I understand what and why Perl does what it does in this case but isn't it more natural to expect this:

variables are now: 1 1 variables are now: 1 1 variables are now: 2 2

Instead of:

variables are now: 1 1 variables are now: 1 2 variables are now: 2 2
???