local @INC = grep $_ ne '.', @INC;
+diag 'Directories in @INC :';
+diag " $_" for @INC;
+
my $authors = eval {
local $SIG{__WARN__} = sub {
my ($msg) = @_;
plan skip_all => $@;
}
-diag 'Directories in @INC :';
-diag " $_" for @INC;
-
my $count = $authors->count;
diag "$count authors found";
cmp_ok $count, '>', 0, 'there are some authors';