-
Notifications
You must be signed in to change notification settings - Fork 213
Scanning Dependencies
miyagawa edited this page Mar 8, 2011
·
4 revisions
cpanm 1.4 has the new option --scandeps
to scan and show the dependency graph in the console.
NOTE that this option takes into account what you already have in your perl library path, so if you already have Moose, running cpanm --scandeps Foo
wouldn't display Moose even if the Foo module depends on Moose.
If you want the dependency tree for a vanilla perl installation, you can combine this option with -L
, like:
cpanm -q --scandeps -L /tmp/perl5 Catalyst
which will print all of the non-core dependencies, instead of what you don't have. See also [[Module::Build with -L].