1use strict; 2use Test::More; 3eval q{ use Test::Perl::Critic }; 4plan skip_all => "Test::Perl::Critic is not installed." if $@; 5all_critic_ok("lib"); 6