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.
In reply to Re: strict's behavior within subroutines?
by toolic
in thread strict's behavior within subroutines?
by dasnippa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |