Perl Modules  Print this Article

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.

Was this answer helpful?

Related Articles

CGI Center
Simple CGI Wrapper CGI scripts are pieces of software that can do many useful things for your...
PHP Configuration
Overview If you encounter problems with the way your server handles PHP packages, it may be...
cPanel PHP
As of cPanel & WHM version 11.36, we ship PHP 5.3 and its modules as a set of RPMs. This...
Deploying a Ruby on Rails Environment
Overview: This interface allows you to create and deploy a Ruby on Rails® application....
Optimize Website
Overview: This interface allows you to configure your server to automatically compress specified...