in reply to Re^8: type glob
in thread type glob
just that one's not likely to see it in casual use.
If a child scope has a variable with the same name as its parent scope, it would look like
my $x; sub foo { ... $x ... } sub bar { ... my $x ... }
What you said boils down to saying bar is unlikely to call foo, and I don't see how that is true.
I it is unlikely that the same var name is used at two levels in a working program, but that's something else.
|
|---|