in reply to foreach my $var scope oddness

The second loop alters @outer. $o is local to each loop.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.