Perl Language

Easy way to check installed modules on Mac and Ubuntu

Check installed perl modules via terminal

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.

Use perldoc to check the Perl package install path

$ perldoc -l Time::Local

How to check Perl corelist modules.

$ corelist -v v5.23.1

How to check the version of a installed module?

$> perl -MFoo::Bar\ 9999
$> Foo::Bar version 9999 required--this is only version 1.1.

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow