Pod-Inherit
view release on metacpan or search on metacpan
lib/Pod/Inherit.pm view on Meta::CPAN
if (not exists $local_config->{skip_underscored}) {
$local_config->{skip_underscored} = $self->{skip_underscored};
}
$local_config->{class_map} ||= $class_map;
for my $globname (sort keys %$stash) {
next if ($local_config->{skip_underscored} and $globname =~ m/^_/);
next if $seen{$globname};
# Skip the typical UPPERCASE sub blocks that aren't really user-friendly methods
next if ($globname =~ m/^(?:AUTOLOAD|CLONE|DESTROY|BEGIN|UNITCHECK|CHECK|INIT|END)$/);
my $glob = $stash->{$globname};
# Skip over things that aren't *code* globs, and cache entries.
# (You might think that ->can will return false for non-code globs. You'd be right. It'll return true
# for cache globs, and we want to skip those, so that we'll get them later.)
my $exists;
eval {
# Don't next here directly, it'll cause a warning.
$exists = exists &$glob;
};
( run in 3.075 seconds using v1.01-cache-2.11-cpan-748bfb374f4 )