Installation of Perl on Mac
Perl is already installed on Mac.
Execute the "Terminal" application and input the following command to check the version of Perl.
perl -v
You can see the version of Perl.
This is perl 5, version 28, subversion 2 (v5.28.2) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail)
Installation of Perl on your home directory
If you want to install the specific version of Perl on your home directory, you can use perlbrew or plenv according to your taste.