Guide to Perl in cPanel

Introduction

cPanel & WHM ships with multiple Perl environments. Perl modules allow you to add custom functionality to a cPanel & WHM server.

Notes:

  • cPanel & WHM adds an exclude line in the /etc/yum.conf file that ensures that system updates do not update the server’s Perl installations. This helps to ensure that updates do not break custom modules, and preserves compatibility with CPAN modules.

Perl uses in cPanel & WHM

cPanel & WHM's backend is Perl-based, and you can use Perl in many custom cPanel & WHM applications:

  • LiveAPI Perl Module — The LiveAPI Perl Module provides an environment for Perl applications. Use the LiveAPI system in conjunction with cPanel & WHM's APIs to create integrated cPanel & WHM applications.
  • cPanel Licensing Perl Module — The Manage2 API automates cPanel license management procedures. Use this module to integrate with Manage2, cPanel's license management interface.
  • Perl Hook Action Code — Standardized Hooks trigger applications when cPanel & WHM performs an action. You can create hook action code in a custom Perl module or as an executable script.

 

Note:

The term "Boolean" in our documentation refers to parameters that accept values of 1 or 0. cPanel & WHM APIs do not support the literal values of true and false.

  • 15 Users Found This Useful
Was this answer helpful?

Related Articles

The cPanel Interface

For  cPanel  &  WHM  version  58 Overview The cPanel interface is...

User Preferences

For cPanel & WHM version 58 Overview This document outlines how to access your cPanel...

Manage External Authentications

For cPanel & WHM version 58 Overview Manage credentials Additional documentation...

What is cPanelID?

In This Article:  Overview ServicesHow to get a cPanelID cPanelID External...

Guide to cPanel Interface Customization - cPanel Style Development

Introduction You can develop custom styles that modify the appearance of the cPanel interface....