Installing Perl modules using cPanel
The Perl Modules feature in cPanel allows you to install and manage Perl modules directly from the CPAN (Comprehensive Perl Archive Network) repository. This makes it easy to extend the functionality of your Perl applications without needing manual server configuration.
Why Use Perl Modules?
Section titled “Why Use Perl Modules?”- Add new features to your Perl scripts.
- Access thousands of reusable libraries from CPAN.
- Manage installations, updates, and removals directly in cPanel.
Steps to Install a Perl Module
Section titled “Steps to Install a Perl Module”1. Access the Perl Modules Interface
Section titled “1. Access the Perl Modules Interface”- Log in to cPanel.
- On the Tools page → Software section, click Perl Modules.
2. Install a Module
Section titled “2. Install a Module”You can install Perl modules in several ways:
-
Search for a module
Section titled “Search for a module”- In the Find a “Perl Module” text box, type the name (e.g.,
XML). - Click Go.
- Scroll down the list and click Install next to the desired module.
- In the Find a “Perl Module” text box, type the name (e.g.,
-
Browse available modules
Section titled “Browse available modules”- Click Show Available Modules.
- Scroll through the list and click Install for the module you want.
-
Install by name
Section titled “Install by name”- Under Install a Perl Module, type the exact module name.
- Click Install Now.
3. Manage Installed Modules
Section titled “3. Manage Installed Modules”-
After installation, modules appear under Installed Perl Module(s).
-
Options available:
- Update → Upgrade to the latest version.
- Reinstall → Reinstall the module if needed.
- Uninstall → Remove the module.
- Show Docs → View documentation for the module.
- Show System Installed Modules → See modules installed system‑wide.