Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Class/Object Method Lister

by rnahi (Curate)
on Jan 19, 2004 at 06:05 UTC ( #322289=note: print w/replies, xml ) Need Help??


in reply to Class/Object Method Lister

To make a general purpose lister, replace the last lines (from "use IO::File" to the end) with this:

my $module = shift or die "module name required"; eval "require $module" or die "$@\n"; printFlatClassView($module); print "\n"; printExpandedClassView($module); print "\n";

Then, you can run the script with the module name on the command line.

$ method_lister IO::File

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://322289]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2018-07-23 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (463 votes). Check out past polls.

    Notices?