Installing Perl can be done on any OS and is useful for file processing programs, scripting, or running Perl programs.
Linux: should be already installed.
Windows: Download ActiveState Perl (free) from http://www.activestate.com/activeperl. Click ‘Download Now’. Click the download link for your OS bitness (32-bit or 64-bit).
Once the installer is downloaded, install Perl with default settings.
When creating a Perl file, include:
at the top. This will be the first line of the file. This indicates where Perl is located on Linux. This is unnecessary on Windows, but can still be included if the same Perl file is being run on Linux. The Perl file should have the .pl file extension appended to the file name.