Perl should be installed on Mac OS using Brew
$ brew install perlIf perl is already installed, this will throw an error. You should then install perl with perlbrew.
Perlbrew is a versions environment for Perl, such as rbenv for ruby and nvm for node.
See a complete guide for perlbrew.