How to Install a Perl Module in cPanel?

Linux Web hosting has the Control Panel as a cPanel which is also used to install the PERL module,which can extend the capabilities of your Perl scripts.A Perl Module is a software in Perl programming language.With the Perl programming language, there are what are called Perl modules, and these allow you to use already written code and functions in your own scripts very easily.

STEP 1: You need to login to cPanel and navigate to “Perl Modules” The option can be listed under the tab “Software/Services”.

STEP 2: Now you will see an installer page of Perl Modules. Now you can check the module is installed or not. You can see the installed modules from “Show System Installed Modules”.

STEP 3: Now remember the name of the module that you need to install and click on “Show Available Perl Module(s)” and you can see a list of available perl module. Choose the module that needed to be installed and click on the “install” button.

STEP 4: The installation folder will be /home/USERNAME/perl  directory. Here the username denotes your account name.

If you wish to run any particular script with the modules included, then you need to specify the path by adding the following lined above the script,.