The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use Test::More;

eval "use Test::Perl::Critic( -severity => 1 )";

plan skip_all => 'Test::Perl::Critic only run for author tests' unless $ENV{AUTHOR_TEST};
plan skip_all => "Test::Perl::Critic required for reviewing coding style"
    if $@;

Test::Perl::Critic::all_critic_ok();