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

my $x; <- this one. { my $y; <- not this one. ... } { my $z; <- this one. sub f { ... } }
A minor quibble: We can't entirely ignore intervening code. For example,
my $x = 'shadowed'; # <- invisible { my $x = 'shadowing'; # <- visible sub f { say "I only see the \$x that's $x." }; }