| Author |
help finding module
|
|
| john.scaglione@gmail.com 2006-07-25, 6:57 pm |
| Hello
I need to parse through a large amount of perl code and find functions
and/or whole modules that are no longer in use.
I have been looking for a tool on CPAN for a while that can help me.
Specifically I am looking for something that will parse through a perl
file and tell me what functions are in it (and maybe what functions are
called from it).
Can anyone here point me towards a module that will help me out?
thanks
| |
| Paul Lalli 2006-07-25, 6:57 pm |
| john.scaglione@gmail.com wrote:
> I need to parse through a large amount of perl code and find functions
> and/or whole modules that are no longer in use.
>
> I have been looking for a tool on CPAN for a while that can help me.
> Specifically I am looking for something that will parse through a perl
> file and tell me what functions are in it (and maybe what functions are
> called from it).
>
> Can anyone here point me towards a module that will help me out?
How about one of the PPI modules?
http://search.cpan.org/~adamk/PPI-1...PPI/Document.pm shows an
example that will give you the named subs of a perl file. . .
Paul Lalli
| |
| john.scaglione@gmail.com 2006-07-25, 6:57 pm |
| Excellent. Exactly what I'm looking for. Thanks!
|
|
|
|