cPanelLicensing Perl Module
Last modified: 2022 July 27
Overview
The cPanelLicensing Perl module runs Manage2 API functions. Use the cPanelLicensing Perl module to manage customer licenses from the command line or through the Manage2 user interface.
You must run this module on a *nix-based system.
Requirements
To install this module, the following features must be available on the server:
In addition, one of the following following Perl modules must exist on the server:
XML::SimpleJSON::SyckYAML::SyckYAMLJSONJSON::XS
Download the module
To download the cPanelLicensing Perl module, click the cPanel License Management API SDK link in the Automation menu on the Manage2 Dashboard interface.
Basic use
When a script uses this module, the script must create an instance of the module with the following parameters:
user— The account username.pass— The account password.
For example, the following code creates the initial instance of the cPanelLicensing Perl module:
|
|