Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Getting methods existing in a Perl Object!

by mreece (Friar)
on Dec 31, 2006 at 20:57 UTC ( #592416=note: print w/replies, xml ) Need Help??


in reply to Getting methods existing in a Perl Object!

Class::Can?
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://592416]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2021-02-27 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?