Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
We don't bite newbies here... much
 
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 (Hermit) 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 studying the Monastery: (7)
As of 2014-04-19 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (480 votes), past polls