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