Use Sub::Information:
my $coderef = $foo->can( 'bar' ); my $class = Sub::Information->new( $coderef )->package();
In reply to Re: Finding inherited object methods
by chromatic
in thread Finding inherited object methods
by snopal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |