Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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."
In reply to Re: get the list of methods and variables
by Utilitarian
|
|