The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!perl -T

use strict;
use warnings;

use Test::More;

$ENV{AUTHOR_TESTING}
    or plan( skip_all => 'Author test. Set $ENV{AUTHOR_TESTING} to a true value to run.' );

eval 'use Test::Perl::Critic -severity => 1; 1'
    or plan( skip_all => 'Test::Perl::Critic required' );

all_critic_ok( qw(
    lib
    example
) );