in reply to Finding inherited object methods
Use Sub::Information:
my $coderef = $foo->can( 'bar' ); my $class = Sub::Information->new( $coderef )->package();
|
---|
In Section
Seekers of Perl Wisdom
in reply to Finding inherited object methods
Use Sub::Information:
my $coderef = $foo->can( 'bar' ); my $class = Sub::Information->new( $coderef )->package();
|
---|