Please refer the following steps:
1. Login to your server as root user.
2.Fire the following commands:
wget https://layer1.cpanel.net/perl588installer.tar.gz
tar -xvzf perl588installer.tar.gz
cd perl588installer
./install
You are done with installing Perl on your server.