Skip to Content
Shared hosting (cPanel)Using cPanelSoftware

Perl modules

Perl modules are software components written in Perl. This interface lets you search for Perl modules in the CPAN repository and install them on your site.

Note

You must install a Perl module before you can use it in any Perl program.

Module include path

This section shows where the system stores your modules; use this path if you want to reference those modules from other modules or programs.

Using your Perl module

This section lists the code you need to include at the top of your Perl script, which specifies the location of the Perl version the system will use to run the script.

Install a Perl module

Use one of the following methods:

  • If you know the name of the module you need, enter it in the Install a Module box and click Install Now.
  • Enter a search term in the search box and click Go; the interface will list the relevant modules.
  • Click Show Available Modules to see a list of the Perl modules available in the CPAN repository.
Note

The interface doesn't list every module available on CPAN.

For each module, the interface shows the name, version, and the available actions.

Installed modules table

This table lists all the modules installed on your account, showing for each one its name, version, and actions: Update, Reinstall from CPAN, Uninstall from the server, or Show Documentation on the CPAN website.

System modules

cPanel & WHM comes with certain Perl modules preinstalled. Click Show System Installed Modules to see the list.

How is this guide?

On this page