Maclir has asked for the wisdom of the Perl Monks concerning the following question:

Is there any simple way to list all the modules that have been installed?

Replies are listed 'Best First'.
Re: Finding what modules are installed
by btrott (Parson) on Apr 07, 2000 at 08:47 UTC
    % perldoc perllocal
    Also, definitely check out pmtools, a collection of small tools that'll tell everything you ever wanted to know about the installed modules.
Re: Finding what modules are installed
by vroom (His Eminence) on Apr 07, 2000 at 08:12 UTC
    You can get a list of the directories installed modules are stored in by looking at the contents of @INC
    You could then use File::Find or a combination of opendir and readdir to find all the module files.

    vroom | Tim Vroom | vroom@cs.hope.edu
RE: Finding what modules are installed
by Anonymous Monk on Apr 08, 2000 at 13:39 UTC
    perl -MCPAN -e autobundle
RE: Finding what modules are installed
by Anonymous Monk on Apr 07, 2000 at 15:16 UTC
    perl -MCPAN -e 'for $mod (CPAN::Shell->expand("Module","/./")){ next unless $mod->inst_file; print $mod->id," ", $mod->inst_version, "\n"; }'

    Edit Petruchio Sun Mar 17 09:31:44 UTC 2002 - Added CODE tags.