I found two bugs. Given
{ package TestA; sub foo {} sub bar; sub baz() { time } sub moo {} } { package TestB; our @ISA = 'TestA'; our $bar = 1; } use Data::Dumper; print Dumper get_coderefs_href $_ for qw( TestA TestB );
bar shows that stubs are listed. That's fine — I'd even say it's a good thing — but it's worth documenting.
In reply to Re: list all subs in a package
by ikegami
in thread list all subs in a package
by sflitman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |