Tuesday, 16 April 2013

How to List installed perl module


Use instmodsh (interactive inventory for installed Perl modules) command to find out what modules already installed on my system. instmodsh command provides an interactive shell type interface to query details of locally installed Perl modules.
 
To display the list enter the following command:
$ instmodsh

This will show the below options,
 
Available commands are:
l - List all installed modules
m - Select a module
q - Quit the program
cmd?

type l to list all installed modules:cmd? l
Installed modules are:
Archive::Tar
CPAN
Class::Spiffy
Compress::Zlib
Cwd
Digest::SHA
IO::Zlib
MIME::Lite
Module::Build
Module::Signature
Net::Telnet
PAR::Dist
Perl
Spiffy
Term::ReadLine
Test::Base
Test::Simple
Text::Glob
Weather::Com
XML::Simple
YAML
cmd?
 
This command itself is a perl script that use ExtUtils::Installed module. type q to exit.

No comments:

Post a Comment