in reply to Re^3: my $a outside sort block incompatibility
in thread my $a outside sort block incompatibility

Interesting. I would assume that is because it is more efficient to access a lexical than a package variable.
  • Comment on Re^4: my $a outside sort block incompatibility