Sepia
view release on metacpan or search on metacpan
lib/Sepia.pm view on Meta::CPAN
}
=item C<@matches = apropos($name [, $is_regex])>
Search for function C<$name>, either in all packages or, if C<$name>
is qualified, only in one package. If C<$is_regex> is true, the
non-package part of C<$name> is a regular expression.
=cut
sub my_walksymtable(&*)
{
no strict;
my ($f, $st) = @_;
local *_walk = sub {
local ($stash) = @_;
&$f for keys %$stash;
_walk("$stash$_") for grep /(?<!main)::$/, keys %$stash;
};
_walk($st);
}
( run in 1.799 second using v1.01-cache-2.11-cpan-49f99fa48dc )