The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package main;

use strict;
use warnings;

use File::Spec;

use Test::More 0.88;

BEGIN {
    eval {
	require PPI;
	PPI->VERSION( 1.215 );
	1;
    } or do {
	print "1..0 # skip PPI 1.215 or greater required to criticize code.\n";
	exit;
    };
    eval {
	require Test::Perl::Critic;
	# TODO package profile.
	Test::Perl::Critic->import(
	    -profile => File::Spec->catfile(qw{xt author perlcriticrc}),
	);
	1;
    } or do {
	print "1..0 # skip Test::Perl::Critic required to criticize code.\n";
	exit;
    };
}

all_critic_ok();

1;

# ex: set textwidth=72 :