3 use warnings FATAL => 'all';
8 if ( not $ENV{TEST_AUTHOR} ) {
10 = 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.';
11 plan( skip_all => $msg );
14 eval { require Test::Perl::Critic; };
16 my $msg = 'Test::Perl::Critic required to criticise code';
17 plan( skip_all => $msg );
20 #my $rcfile = File::Spec->catfile( 't', 'perlcriticrc' );
21 #Test::Perl::Critic->import( -profile => $rcfile );
23 Test::Perl::Critic::all_critic_ok();