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::LocalCheck installed perl modules via terminal
Section titled “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 programcmd?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.
How to check Perl corelist modules.
Section titled “How to check Perl corelist modules.”$ corelist -v v5.23.1How 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.