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.

Note:
A module must be installed before any Perl program can use it.

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.

Note:
Not every CPAN module is listed in this interface.

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:

Note:
If the module you want is not found, repeat the search until you find it.

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.

Was this answer helpful? 0 Users Found This Useful (0 Votes)