Module::Depends - identify the dependencies of a distribution
use YAML; use Module::Depends; my $deps = Module::Depends->new->dist_dir( '.' )->find_modules; print "Our dependencies:\n", Dump $deps->requires;
This module has external dependencies on the following modules:
Class::Accessor::Chained File::Spec YAML
perl Build.PL perl Build test
and if all goes well
perl Build install
What changed over the last 3 revisions
File::chdir 0.08 changed its behaviour and is not backwards compatible - avoid using it.
Implement a y_n for the Module::Build fakery
Fixed the emulation of Module::Install::require Change the base test case so that it doesn't need a ./Build dist first (for when building out of SVN rather than a released dist)
Richard Clamp, based on code extracted from the Fotango build system originally by James Duncan and Arthur Bergman.
Copyright 2004,2007 Fotango. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module::Depends::Intrusive
To install Module::Depends, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Depends
CPAN shell
perl -MCPAN -e shell install Module::Depends
For more information on module installation, please visit the detailed CPAN module installation guide.