NAME

find_mod_deps.pl - inspect only hard-coded dependencies of sets of perl files

DESCRIPTION

Inspects the hard-coded dependencies of a set of perl files and prints a summary of which modules they use (by default not including inter-dependencies between the modules being inspected).

USAGE

find_mod_deps.pl [options] [ path ... ]

If given any paths, inspects only the files in those paths. Defaults to inspecting all perl files in the current directory.

Options

-i

If set, also print internal dependencies, i.e. the inter-dependencies between the files we are inspecting.

-B

If set, print the dependencies in a format suitable for cutting and pasting directly into a Build.PL (i.e. Module::Build)

-M

If set, print the dependencies in a format suitable for cutting and pasting directly into a Makefile.PL (i.e. Module::Install)

-Z

If set, print the dependencies in a format suitable for cutting and pasting directly into a dist.ini (i.e. Dist::Zilla). Although, if you're using Dist::Zilla, you probably have it configured to be auto-discovering deps, and it will find the same deps as this script.

AUTHOR

Robert Buels, rbuels@cpan.org