instmodsh: A quick way to find out all installed Perl modules…

Posted : August 10, 2004 at 10:39 am [America/Los_Angeles]

Everytime I setup a new Linux development environment, I always stumble at this step:

What Perl modules from CPAN should I add to complement my default Perl install?

Up until yesterday, I used my own little script to list all the perl modules installed. Turns out there is a simple shell that comes standard with a Perl install (I think) called instmodsh.

Here’s how it works:

(prompt)> instmodsh
Available commands are:
   l            - List all installed modules
   m    - Select a module
   q            - Quit the program
cmd? l
Installed modules are:
   Apache::Htpasswd
   AppConfig
   Archive::Tar
   Bit::Vector
   Class::Loader
   Class::XPath
   Compress::Zlib
   Convert::ASCII::Armour
   Convert::ASN1
   Convert::PEM
   Crypt::Blowfish
   Crypt::CBC
   Crypt::DES
   Crypt::DES_EDE3
   …
   …
   XML::Parser
   XML::RSS
   XML::RSS::Parser
   libwww-perl
cmd? q
(prompt)>

- Anand

Viewed: 555 times