Install a compiler, such as
gcc through your system package management (e.g. apt, yum).
Open a Terminal
and copy & paste the command below
into it (then press the 'return' key).
curl -L http://xrl.us/installperlnix | bash
If you are interested in the details of the setup above..
To build and install Perl and many of the thousands of useful
Perl modules you need to have a compiler.
To interact with the command line and run Perl commands, a terminal
application is needed.
The Perlbrew website lists many
of it's advantages. We recommend it here because it separates your
installation from the system Perl, this makes upgrading your OS less likely
to cause issues with your own Perl setup. It also means you can use a newer
Perl than the default one which comes with your OS.