Acme-Test
view release on metacpan or search on metacpan
lib/Acme/Test.pm view on Meta::CPAN
diag("Testing $pkg");
my $stash = $pkg . '::';
for my $name (sort keys %$stash ) {
for my $type (keys %$href) {
my $x = *{"$stash->{$name}"}{$type};
next unless defined $x;
### so apparently some entries in the scalar slot
### are set regardless, but are references to undef
### let's just skip these...
next if ref $x eq "SCALAR" and not defined $$x;
### some hash entries might be other stashes again
### let's just skip these as well...
next if ref $x eq "HASH" and $name =~ /::$/;
my $priv = $name =~/^_/ ? 1 : 0;
my $status = $priv ? '[Private]' : '[Public]';
( run in 0.221 second using v1.01-cache-2.11-cpan-4d50c553e7e )