The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

SYNOPSIS

   dist-requires [-perl VERSION] [-all] { DIST_ARCHIVE_FILE | DIST_DIRECTORY }
   dist-requires -help

DESCRIPTION

dist-requires will tell you which versions of which packages are required to build/test/run a distribution with a given version of perl. By default, all packages that were provided in that version of perl will be excluded from the output, unless the distribution requires a version newer than the one provided by that perl.

ARGUMENTS

The only argument is the path to a distribution archive file (e.g. *.tar.gz file) or the path to a directory containing an unpacked distribution.

OPTIONS

-perl PERL_VERSION

Specifies which version of perl to consider when evaluating which packages would be necessary. Version numbers can be represented as floating point numbers, or 'version strings'. So the following are all equivalent:

  v5.12.3
  5.12.3
  5.012003

-all

List all required packages, not just those that are not provided in the perl core. Setting the -all switch effectively makes the -perl option meaningless.

-help

Display usage information.