Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Finding inherited object methods

by snopal (Pilgrim)
on Jun 12, 2008 at 13:03 UTC ( [id://691647]=perlquestion: print w/replies, xml ) Need Help??

snopal has asked for the wisdom of the Perl Monks concerning the following question:

Given an object $foo, and an inherited method $foo->bar(), how can I determine the CLASS providing the method bar() to $foo?

Replies are listed 'Best First'.
Re: Finding inherited object methods
by apl (Monsignor) on Jun 12, 2008 at 13:35 UTC
    Take a look at the Perl ISA package.
Re: Finding inherited object methods
by Anonymous Monk on Jun 12, 2008 at 13:33 UTC
    you aren't supposed to care :) but perldoc UNIVERSAL
Re: Finding inherited object methods
by chromatic (Archbishop) on Jun 12, 2008 at 17:05 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://691647]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found