Perl Modules

Valid for versions 82 through the latest version

Version:

82


Last modified: July 11, 2022

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.

Note:
You must install Perl modules before you can use them inside of a Perl program.

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.

Note:
The interface will not display every module available at CPAN.

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:

Note:
If you did not find the desired module, repeat this process until you locate the appropriate module.

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.

Additional Documentation