Overview
A Perl module is a reusable piece of code written in Perl. This page lets you look up modules in the CPAN repository and install them for your website.
Module Include Path
This section shows the folder where your modules are kept. Use this include path whenever other modules or programs need to reference them.
Using Your Perl Module
The Using Your Perl Module(s) section offers code that you must place at the top of your Perl script. It points to the Perl installation that runs the script.
Install Perl module
You can install a module in any of these ways:
-
If you already know the module's name, type it into the Install a Module text box and click Install Now.
-
Type a keyword into the Search text box and click Go to list matching modules.
-
Click Show Available Modules to browse the modules offered by the CPAN repository.
For each module the interface shows:
-
Module — Name The module's name.
-
Version — The version number of the module.
-
Actions — The operations available for the module. For each module, you can perform the following actions:
The Installed Modules table
The Installed Modules table lists every module present on your cPanel account.
The table gives these details for each installed module:
-
Module — Name The module's name.
-
Version — The version number of the module.
-
Actions — The operations available for the module. For each module, you can perform the following actions:
-
Update — Bring the module up to date.
-
Reinstall — Install the module again from CPAN.
-
Uninstall — Delete the module from the server.
-
Show Documentation — Open the module's documentation on CPAN.
-
System modules
Some Perl modules ship with cPanel & WHM itself.
-
Click Show System Installed Modules to see which ones are installed at system level.
-
For further reading, see the Guide to Perl in cPanel & WHM and the Third-Party Software documentation.
