use Class::Can; use Data::Dumper; my %methods = Class::Can->interrogate( ref $bah ); print Dumper(\%methods);
$VAR1 = {
'printBah' => 'Bah',
'new' => 'Bah',
'toString' => 'Object'
};
updated with example
In reply to Re: Getting methods existing in a Perl Object!
by mreece
in thread Getting methods existing in a Perl Object!
by Ace128
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |