Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Package introspection

by jau (Hermit)
on Jul 17, 2010 at 11:17 UTC ( #850083=note: print w/ replies, xml ) Need Help??


in reply to Package introspection

You could use Class::Inspector, for example.

$function_names = Class::Inspector->functions( 'My::Class' );

Or:

$method_names = Class::Inspector->methods( 'My::Class' );


Comment on Re: Package introspection
Select or Download Code
Re^2: Package introspection
by FloydATC (Chaplain) on Jul 17, 2010 at 11:29 UTC
    Exactly what I was looking for, thank you :-D

    -- Time flies when you don't know what you're doing

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2014-12-25 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls