if it is installed but this is running in a dist.
use Test::More;
-eval { require Test::Kwalitee; die "Not maintainer" unless -f 'MANIFEST.SKIP' };
-if($@) {
- plan( skip_all => $@ );
-}
+plan skip_all => "Not maintainer" unless -f 'MANIFEST.SKIP';
+
+eval { require Test::Kwalitee; };
+plan skip_all => 'Test::Kwalitee not installed' if $@;
+
Test::Kwalitee->import();