in reply to Re^3: closure clarity, please
in thread closure clarity, please

No I'm not [talking of the scope of the variables now]

The visibility of the variables is the scope of the variables. You were saying that the sub can see the variables. That's means the sub is within the scope of the variables.

It matters where the sub is defined, which you keep saying doesn't matter,

It does matter, I've said as much, and I've never said otherwise.

If the sub's definition was moved outside of the scope of the vars, the sub wouldn't be able to see the vars. I've given an example of this.

Saying that a sub is global, end of discussion is not at all helpful in determining what variables a sub can see

I agree. I never said it was.

By the way, you can ding my reputation all you want.

"You" must be a reference to someone else. I haven't downvoted any of your nodes, in any thread. I've had no problem with your questions. You are putting effort. You are learning.

Mind you, I haven't upvoted many of your nodes either. I always forget to vote.