Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 musing on the Monastery: (9)
As of 2014-08-20 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (124 votes), past polls