NAME
pmq - Report the installed version of Perl modules.
SYNOPSIS
pmq [-H | -h] [--method (parse | load | fork)] module...
pmq [--method (parse | load | fork)] --all
DESCRIPTION
Look for the given Perl modules in Perl's include path and report on whether they are installed, and if so with what version number. With --all, all modules on the system are listed.
There are three methods to find out the status of a module. The fastest and default is 'parse' which examines the module's program text for a line setting $VERSION. The method 'load' is more thorough, it tries to load the module in question and then asks for the value of $VERSION. Because some modules can have strange side-effects when loaded, the slowest method 'fork' loads each module in a separate process. Be warned that both 'load' and 'fork' will execute the module's code, but if you have installed a module into your perl search path you probably trust it anyway.
Following grep(1), the name of each module is printed before its status if more than one module (or 'all') is specified, but this name-printing can be forced on with -H or --with-name and suppressed with -h or --no-name.
--help prints a help message to standard output and --version reports on the version number of pmq itself.
SEE ALSO
AUTHOR
Ed Avis, ed@membled.com