pmtools a handy set of Perl module specific command line tools
This blog entry is archived. This means it's probably outdated.

I recently discovered a very useful set of Perl command line tools. I hope you find these as useful as I have.

pmall
show all installed versions and descs
pman
show a module's man page
pmcat
page through a module file
pmdesc
print out version and whatis description of perl modules
pmdirs
print out module directories
pmeth
show a Perl class's methods
pmexp
show a module's exports
pmfunc
cat out a function from a module
pminst
find modules whose names match this pattern
pmload
show what files a given module loads at compile time
pmls
long list the module path
pmpath
show full path to a perl module
pmvers
print out a module's version
podgrep
grep in pod sections only
podpath
print the path to the pod
pods
print out all pod paths
podtoc
show outline of pods

More info:

  • CPAN: https://metacpan.org/release/pmtools
  • Debian/Ubuntu: aptitude install pmtools
  • RPM: peeps: yum install pmtools