How to get a list of "standard" perl modules available on the system?

In perlmodlib(1) there is a phrase:

Perhaps not all of the modules listed below are installed on your system. For example, the GDBM_File module will not be installed if you do not have the gdbm library.

How to get the actual list of standard modules installed in the system?

+4
source share
1 answer

The cpan command can do this:

 % cpan -a 

I wrote App :: Module :: Lister to do the job. Although this is a module, it is also a program that does what you want when you run it as a program:

 % perl `perldoc -l App::Module::Lister` 

Several other Stackoverflow questions answer this for specific modules, including:

Due to your specific question, do you really care what implements your DBM functions? Do you have a question about this?

+10
source

All Articles