NAME
whichpm - locate a Perl module and it's version
SYNOPSIS
# shows path and version (if vailable) of the Perl module
whichpm Some::Module::Name
whichpm -v Some::Module::Name
whichpm --verbose Some::Module::Name
# shows just path to the Perl module
whichpm -q Some::Module::Name
whichpm --quiet Some::Module::Name
# add lib/ into @INC
whichpmv -l Some::Module::Name
# add mylib into @INC
whichpmv -Imylib Some::Module::Name
# show version of App::whichpm
whichpm --version
# show/edit .pm file
less `whichpm Some::Module::Name`
vim `whichpm Some::Module::Name`
DESCRIPTION
Loads the module, prints its file system location and version.
When STDOUT is not a TTY, prints just file name by default. (-v can force printing version too)