$o is scoped to each loop, but it is an alias to each element of @outer in turn.
After Compline,
Zaxo
In reply to Re: foreach my $var scope oddness
by Zaxo
in thread foreach my $var scope oddness
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |