Not all the CPAN libraries can be found on your CD/DVD or in the official distribution package repositories.But there are many additional repositories that carries nearly all the CPAN libraries. Dag Wieers has all the RPMs you will ever need for CPAN libs for the Red Hat/Fedora/Centos family.3) You can search the Perl module by typing the module’s name in the search box.4) We can see the available Perl modules by clicking the option ‘Show Available Modules’.
You can find the full list of available CPAN modules in the official documentation. After opening the command console, you need to type cpan. The syntax is the following:install module::name For example, we will install the Date:: Calc Perl module: 3.
In this documentation, we can check how to install Perl module in c Panel.
Perl modules are collections of functions that allow you to perform tasks in Perl.
For some background on what a module is and where they live on the system see the Simple Module Tutorial The Basics of Module Installation Fixing common problems Installing Modules that include elements coded in C Most modules are available from CPAN - the Comprehensive Perl Archive Network. A program called tar performs this function and the resultant file is called a tar file. This tar file is then compressed using the gzip (GNU Zip) program.
When a module is made the directory structure it lives in is converted to a single file that contains both the files and the directory information.