Igor Chubin
Igor Chubin

Reputation: 64563

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

There is a phrase in perlmodlib(1):

It's possible that not all modules listed below are installed on your system. For example, the GDBM_File module will not be installed if you don't have the gdbm library.

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

Upvotes: 4

Views: 1247

Answers (1)

brian d foy
brian d foy

Reputation: 132719

The cpan command can do it:

% cpan -a

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

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

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

For your particular question, though, do you really care what's implementing your DBM features? Do you have some question about that?

Upvotes: 10

Related Questions