in reply to Re^4: Scope and references
in thread Scope and references

No, that only shows that there are two scopes total, not that for created two lexical scopes. You'd need

my @x; for (my @x) { my @x; }

Mine does show the same though. If for only created the scope int the curlier, my code wouldn't have died.