tall_man has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to track the module dependencies for a large perl project (e.g. package ABC uses package DEF uses...). I was hoping to find or create an automatic tool to do this, similar to the "cdep" tool that John Lakos made in Large-Scale C++ Software Design.
I set up a miminal package, referring to another minimal package:
I thought perhaps something like this would work:package ABC; use DEF; 1;
However, all I get is:perl -MO=Xref,-oreport ABC.pm grep -w Package report | grep -v '(' | sort -u > dep_report
Is there a better tool available to find the module "use" dependencies? Thanks for your help.Package attributes Package UNIVERSAL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module dependency tool?
by Aristotle (Chancellor) on Jan 26, 2003 at 00:10 UTC | |
by tall_man (Parson) on Jan 26, 2003 at 00:49 UTC | |
|
Re: Module dependency tool?
by PodMaster (Abbot) on Jan 26, 2003 at 06:52 UTC | |
|
Re: Module dependency tool?
by tomhukins (Curate) on Jan 26, 2003 at 19:43 UTC | |
|
Re: Module dependency tool?
by ihb (Deacon) on Jan 27, 2003 at 00:05 UTC |