Aside from trying
perldoc <module name>
individually for any CPAN module that takes my fancy or going through the file system and looking at the directories I have no idea what modules we have installed.
What's the easiest way to just get a big list of every CPAN module installed? From the command line or otherwise.
perldoc -q installed
claims that
cpan -l
will do the trick, however it's not working for me. The other option:cpan -a
does spit out a nice list of installed packages and has the nice side effect of writing them to a file.
Here a script which would do the trick:
the Perl cookbook contains several iterations of a script "pmdesc" that does what you want. Google-search for "Perl Cookbook pmdesc" and you'll find articles on other Q&A Sites, several code listings on the net, a discussion of the solution, and even some refinements.
You can get list of perl modules installed in you system by using
instmodsh
command in your terminal.It will ask you three option in order to enhance the output they are:Try the following command
instmodsh
For Linux the easiest way to get is,