Page tree
Skip to end of metadata
Go to start of metadata

 

Introduction

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

Notes:

  • For a list of CPAN modules that cPanel & WHM includes, read the Third-Party Software  documentation for the appropriate version of cPanel & WHM.
  • 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.