Install a Perl module in cPanel
In this article I'll show you how to install a Perl module on your cPanel account, which can extend the capabilities of your Perl scripts.
It's very common in programming for people to say don't reinvent the wheel, basically if something already exists and does a really good job at it, there is no need to rebuild it again from the ground up.
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.
Install a Perl Module
Following the steps below, I'll walk you through how easy it is to install a Perl module on your cPanel account.
- Login to your cPanel
- Under the Software/Services section, click on Perl Modules.
- In the search box, type in the Perl module you're looking for, in this example I'm searching for Authen::SASL, then click on Go.
- On the next page it should display all of the Perl modules that matched your search, in this case I'd want to click on the Install button beside Authen::SASL (2.16) to install the module I was searching for.
- There will be some scrolling text on the page as the Perl module is being installed, when it's complete you should see a success message such as this:
Successfully installed Authen-SASL-2.16
1 distribution installed
That's all there is to it, you should now have successfully installed your required Perl module that you were searching for.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!