in reply to Getting methods existing in a Perl Object!
I think that you could get what you want with a little help from Class::Inspector by Adam Kennedy. After getting and installing Class::Inspector from your nearest CPAN mirror, you do something like:
use Class::Inspector; # Only get public methods my $meths = Class::Inspector->methods( 'Bah', 'public' ); # $meths should contain [ 'new', 'printBah' ]
|
|---|