{ package Foo; my $foo; } { package Bar; my $foo; # new $foo not to be confused with one above }