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

NAME

pmcheck - show all Perl packages provided or required

SYNOPSIS

pmcheck [ --missing | --provided ] [ <directory or file> ]

DESCRIPTION

Recursively extract package information from all readable non-empty regular text files in the source tree. The current directory is used if no directory or file is specified. All dot-files and directories are ignored.

If the --provided option is given, shows all packages provided by .pm files in the source tree. Otherwise shows all packages required by .cgi, .pl, .pm and .t files that are not provided anywhere in the source tree (and also nowhere in @INC if the --missing option is given). Files with no dot in the name are also checked if they start with a perl shebang line.

NOTE: Packages required by the 'use base' and 'use parent' pragmas and by the Moose 'extends' and 'with' functions will only be included if Module::Used is available. Will display an activity indicator if run interactively and Term::Activity is available.

OPTIONS

    --missing   Show all required packages that are not available in @INC
    --provided  Show all packages provided by .pm files

EXAMPLES

pmcheck

pmcheck -m

pmcheck -p

COPYRIGHT AND LICENSE

Created by Andrew Pam <andrew.pam@strategicdata.com.au> Copyright 2011-2012 Strategic Data

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.