Perl: How to list all installed perl modules

Perl: How to list all installed perl modules I was looking for an easy way to clone my perl modules from one server to another but I wasn’t sure how to easily list my installed perl modules. I searched around and found the instmodsh command which lists all currently installed perl modules.

I found Instmodsh is easy to use. In your terminal type ‘insmodsh’ to use it and this will bring you to an interactive shell tool.

Here is an example listing installed perl modules with the ‘instmodsh’ command:


devbox:~# instmodsh
Available commands are:
l - List all installed modules
m - Select a module
q - Quit the program
cmd?

To list all perl modules type ‘l’ in the instmodsh shell:


cmd? l
Installed modules are:
AI::Categorizer
AI::DecisionTree
Algorithm::NaiveBayes
Cache::Cache
Class::Accessor
Class::Data::Inheritable
Devel::StackTrace
Exception::Class
HTML::Mason
IO::Tty
Lingua::StopWords
Log::Any
MealMaster
Net::AMQP
Net::Stomp
POE
POE::Component::Client::AMQP
POE::Test::Loops
Perl
Statistics::Contingency
Test::Deep
Test::NoWarnings
Test::Simple
Test::Tester
Time::Progress
XML::RSS::Parser::Lite
YAML::LibYAML
cmd?

As you can see instmodsh is an easy way to list all of your install perl modules.