Find out What Perl Modules Already Installed On My System

https://w‮l.ww‬autturi.com
Find out What Perl Modules Already Installed On My System

To find out what Perl modules are already installed on your system, you can use the following method:

  1. Use the "perldoc" command: "perldoc" is a command-line utility that allows you to view the documentation of Perl modules and functions. To list all the installed Perl modules using "perldoc", follow these steps:
      2. Open a terminal and type the following command:
    perldoc -l "*"
    1. The output of the "perldoc" command includes a list of all the installed Perl modules, each on a separate line. For example:
    /usr/local/lib/perl5/5.26.1/auto/Encode/Encode.so
    /usr/local/lib/perl5/5.26.1/auto/Exporter/Heavy.al
    /usr/local/lib/perl5/5.26.1/auto/Fcntl/Fcntl.so
    /usr/local/lib/perl5/5.26.1/auto/File/Basename/Basename.so
    /usr/local/lib/perl5/5.26.1/auto/File/Copy/Copy.so
    /usr/local/lib/perl5/5.26.1/auto/File/Find/Find.so
    /usr/local/lib/perl5/5.26.1/auto/File/Path/Path.so
    /usr/local/lib/perl5/5.26.1/auto/File/stat/stat.so
    /usr/local/lib/perl5/5.26.1/auto/FileCache/FileCache.al
    /usr/local/lib/perl5/5.26.1/auto/Filter/Util/Call/Call.so
    ...
With these steps, you should be able to list all the installed Perl modules using the "perldoc" command.

Note: To find out more information about a specific Perl module, you can use the "perldoc" command followed by the name of the module. For example:

perldoc File::Basename

This will display the documentation of the "File::Basename" module, including a description of the functions it provides and their usage. Consult the documentation of "perldoc" and the Perl documentation for more information on how to use these utilities.

Created Time:2017-10-28 20:40:30  Author:lautturi