Tels wrote:
graph-perl-usage is a little script that uses various modules/programs to
generate usage graphs of Perl package. That is, it tracks which package
uses or requires which and puts that into a graph. Recursively, if you
wish so.
Neato, cool. How difficult would it be to add an option to exclude
certain modules?
--exclude 'strict'
--exclude 'strict,warnings'
--exclude '::CORE' # all perl core modules
--exclude '/^File.*/'
or to include only modules matching a regexp
--include-only '/^Graph/'
or just to add a little more challage...
Looking at your Graph::Easy example, it'd be nice to graph everything in
the Graph::Easy::* namespace plus any 1st level requirements. I.E. any
modules directly referenced by files in the given namespace.
--include-only '/^Graph::Easy/' --level 1
Pushing my luck,
Randy.