#!/usr/bin/perl # $Id: /mirror/youri/soft/check/trunk/t/perlcritic.t 1412 2006-12-12T21:29:04.312821Z nanardon $ use strict; use warnings; use Test::More; if (!$ENV{TEST_AUTHOR}) { plan( skip_all => 'Author test. Set $ENV{TEST_AUTHOR} to a true value to run.' ); } eval { require Test::Perl::Critic; }; if ($@) { plan( skip_all => 'Test::Perl::Critic not installed, skipping' ); } Test::Perl::Critic->import(); all_critic_ok();