Install a Perl Module

Valid for versions 82 through the latest version

Version:

82


Last modified: November 30, 2022

Overview

A Perl module is software in the Perl programming language. Often, you may use Perl modules in scripts. To properly integrate a Perl module into a script, retrieve the module from a central repository and install it on your server.

Note:

This interface installs Perl modules to the system’s Perl installation. For more information, read our Guide to Perl in cPanel & WHM documentation.

Perl Module Installer

The Perl Module Installer feature allows you to search for, download, and install a module from the CPAN repository

Note:

If you know the exact name of the module that you wish to install, enter its name in the Install a Perl Module text box and click Install Now.

To search for and install a Perl module, perform the following steps:

  1. Use one of the following methods to find the desired module:
    • Enter a search term in the available text box and click Go.
    • Click Show Available Modules to list CPAN-provided Perl modules.
  2. The interface displays the following information for all of the displayed modules:
    • Module Name — The module’s name and version number.
    • Description — A description of the module.
    • Actions — The actions that you may perform for that module.
  3. Click  next to the module that you wish to download and install.
    • To view a module’s documentation, click Show Docs for that module.
    • If you did not find the desired module, enter a new keyword in the Search text box and click Go.

Installed Perl Module(s)

The Installed Perl Module(s) table lists all of the modules that exist on your server.

For each installed module, the table displays the following information:

  • Module Name — The module’s name.
  • Actions — The action to perform.
    • Update — Update the module.
    • Reinstall — Reinstall the module from CPAN.
    • Uninstall — Remove the module from your server.
    • Show Docs — Read the module’s documentation on CPAN.

Additional Documentation