Fix perlcritic issues in autoopper.pl