3 # This script can be used to run perlcritic on perl files in koha
7 use English qw(-no_match_vars);
9 eval { require Test::Perl::Critic; };
12 my $msg = 'Test::Perl::Critic required to criticise code,';
13 plan( skip_all => $msg );
16 Test::Perl::Critic->import( -profile => '.perlcriticrc');