Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: get the list of methods and variables

by Utilitarian (Vicar)
on Jun 17, 2010 at 07:54 UTC ( #845157=note: print w/ replies, xml ) Need Help??


in reply to get the list of methods and variables

PAR installs the scandeps.pl program which can be called on any Perl file and it will list the dependencies.

You could take this dependency list and check for sub or (my|our|local) declarations, thus listing your methods and vars.

That's the first approach that comes to mind, (because I've been fiddling with PAR recently), hope it helps

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."


Comment on Re: get the list of methods and variables
Download Code
Re^2: get the list of methods and variables
by Anonymous Monk on Jun 17, 2010 at 08:09 UTC
    scandeps lists modules/files, not methods/variables

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://845157]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2015-01-27 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (199 votes), past polls