fix a bug raised by CPAN testers
cleaned up perlcritic.t