Skip to content

Easy way to check installed modules on Mac and Ubuntu

Use perldoc to check the Perl package install path

Section titled “Use perldoc to check the Perl package install path”
$ perldoc -l Time::Local

Type below command:

instmodsh

It’ll show you the guild as below:

Available commands are:
l - List all installed modules
m <module> - Select a module
q - Quit the program
cmd?

Then type l to list all the installed modules, you can also use command m <module> to select the module and get its information.

After finish, just type q to quit.

$ corelist -v v5.23.1

How to check the version of a installed module?

Section titled “How to check the version of a installed module?”
$> perl -MFoo::Bar\ 9999
$> Foo::Bar version 9999 required--this is only version 1.1.