On 8 Feb 2008, at 02:14, Matisse Enzer wrote:
I want to utility program that I can point at a list of files and/r directories and get back a list of all the unique modules/pragmas that are imported via 'use'

Before i write my own, using PPI, does this exist already in the CPAN?


In general it can't be done without running the code - because modules could be loaded dynamically.

If you can run the code then Devel::TraceLoad[1] might help you.

[1] http://search.cpan.org/dist/Devel-TraceLoad/

--
Andy Armstrong, Hexten




Reply via email to