Perl Modules
Valid for versions 82 through the latest version
Version:
82
Last modified: May 29, 2024
Looking for this interface?
Your hosting provider can enable or disable this interface in WHM's Feature Manager interface (WHM >> Home >> Packages >> Feature Manager).
Overview
Perl modules are software components in the Perl language. This interface allows you to search for and install Perl modules from the CPAN repository to your website.
Module Include Path
The Module Include Path section of the interface displays the location where the system will store your modules. If you wish to reference those modules from other modules or programs, use this include path.
Using Your Perl Module
The Using Your Perl Module(s) section of the interface lists a choice of code that you must include in the top of your Perl script. This code represents the location of Perl that the system will use to run the script.
Install Perl module
To install a Perl module, perform one of the following actions:
-
If you know the name of the desired module, enter it in the Install a Module text box and click Install Now.
-
Enter a search term in the Search text box and click Go. The interface will display modules related to that search term.
-
Click Show Available Modules to display a list of available Perl modules at the CPAN repository.
The interface displays the following information for the modules:
-
Module — Name The module’s name.
-
Version — The module’s version number.
-
Actions — The actions that you may perform for that module. For each module, you can perform the following actions:
The Installed Modules table
The Installed Modules table displays all of the modules that exist on your cPanel account.
For each installed module, the table displays the following information:
-
Module — Name The module’s name.
-
Version — The module’s version number.
-
Actions — The actions that you may perform for that module. For each module, you can perform the following actions:
-
Update — Update the module.
-
Reinstall — Reinstall the module from CPAN.
-
Uninstall — Remove the module from your server.
-
Show Documentation — Read the module’s documentation on CPAN.
-
System modules
cPanel & WHM includes specific Perl modules.
-
To display a list of the system-installed Perl modules, click Show System Installed Modules.
-
For more information on Perl modules, read our Guide to Perl in cPanel & WHM and Third-Party Software documentation.