Fix perlcritic issues in autolimit.pl