12345 use strict;use Test::More;eval { use Test::Perl::Critic -profile => 'xt/perlcriticrc' };plan skip_all => "Test::Perl::Critic is not installed." if $@;all_critic_ok('lib');
use
strict;
Test::More;
eval
{
Test::Perl::Critic
-profile
=>
'xt/perlcriticrc'
};
plan
skip_all
"Test::Perl::Critic is not installed."
if
$@;
all_critic_ok(
'lib'
);