in reply to my $a outside sort block incompatibility

Don't do that! Using single character identifiers is generally frowned on. Using 'special' single character identifiers is simply asking for trouble (as you have found). In most cases more explicit identifiers make code easier to maintain and avoid a range of traps. It may be appropriate to use $paramA or $aTerm for example


True laziness is hard work
  • Comment on Re: my $a outside sort block incompatibility