The version of perl (v5.8.7) is too old. There are known problems that cannot be worked around with this version of perl. It is HIGHLY recommended that you upgrade to v5.8.8 or later. Any module install failures should be ignored until perl has been upgraded as some modules will not be able to install with this version of perl.
You can ensure that each installed module gets carried over to the updated Perl build with the use of the “autobundle” CPAN feature.
You can create a bundle of the currently installed modules by executing the following while logged in via SSH as root:
perl -MCPAN -e ‘autobundle’
Once completed, you should see the following output before getting returned to the shell:
‘Wrote bundle file /home/.cpan/Bundle/Snapshot_2007_08_16_00.pm’
Once you’ve made note of this file name, you can proceed with the update.
On linux based systems, you should be able to update Perl using the installer provided at layer1.cpanel.net:
tar -zxf perl588installer.tar.gz
On FreeBSD based systems, you will need to install Perl from ports.
This will take a few minutes, so take a coffee break and check the status when you return. Once the update has completed, you can install all previously installed modules from the CPAN bundle by executing the following (with the bundle name adjusted to the name of the bundle generated earlier):
perl -MCPAN -e ‘install Bundle::Snapshot_2007_08_16_00’
This should install each of the modules present in the bundle, assuming there are no issues during the installation (dependencies, network, etc).
Once this has completed, execute the following to ensure that all modules required by cPanel are installed, and restart cPanel: