Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 imbibing at the Monastery: (11)
As of 2014-09-30 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (381 votes), past polls