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' ]
In reply to Re: Getting methods existing in a Perl Object!
by ferreira
in thread Getting methods existing in a Perl Object!
by Ace128
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |