in reply to strict's behavior within subroutines?

From the strict doc:
Because of their special use by sort(), the variables $a and $b are exempted from this check.
This applies inside or outside of subroutines.

perlcritic can detect $b without my, however.