Aaron Sherman writes:
: Here's an example syntax:
: 
: FOO: for @x {
:   BAR: for @y {
:     my $foo_under FOO:= $_;
:     print $_, $foo_under;
:   }
: }

I think if we have to go through contortions to get at the outer topic
by name, it's better to just name the variable on the outer loop in the
first place.  Adding -> $varname to the outer loop is safe, because it
doesn't change the semantics of topicality--now that we changed the
rule so that $_ is always aliased to the topic regardless of whether
it's aliased to an explicit variable name.

Larry

Reply via email to