Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 exploiting the Monastery: (9)
As of 2014-10-20 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (74 votes), past polls