
pmused - ask questions about perl modules used in a code file or hierarchy

With this you can quickly find out if a package or other mountain of perl code needs modules that are not installed in your system. Also you can have a pretty format for using with cpan install.

-d debug on
-v print version and exit
-h help
-x only show modules not installed
-q quiet
-l one per line, default
-s single line
-M print as code for Makefile.PL
-r change versions like v1.0.0 to 1, 0.234 to 0
-A show *all* modules used, including strict, vars, etc.
-C run cpan for each missing module, does it once per module missing (-x)

To see what modules are used in a code file
pmused ./path/to/file.pl
To see recursively for all perl files in a dir tree
pmused ./path/to/dev/dir
To only print to screen any modules used but not installed
pmused -x ./path/to/dev/dir
pmused -x ./path/to/file.pl

Leo Charre leocharre at cpan dot org
