Perl is an open programming language frequently used by engineers. We use Perl for text processing, such as processing tables generated by other statistical softwares.
Perl is already installed on Mac and Linux OS. Download Perl for Windows OS.
Making Perl Available on the Command Prompt
For you to be able to use Perl from the command prompt, follow the steps below.
Making Perl available via the PATH settings on Windows
We need to update our PATH settings; these settings are a set of directories that Windows uses to “look up” software to startup.
- Right-click on Computer.
- Go to “Properties” and select the tab “Advanced System settings”.
- Choose “Environment Variables” and select
Pathfrom the list of system variables.
Windows 7 and 8 machines: If you chose the default installation directory, copy and paste the following string without spaces at the start or end:
;c:\Program Files (x86)\Perl
Windows 10 machines:
Newand paste the following string:
c:\Program Files (x86)\Perl
- Click on
OKas often as needed.
Verifying that the installation was successful
To verify that Perl has been correctly installed and configured via your PATH settings, open a new terminal interface and enter:
followed by hitting the
Return key. Perl is successfully installed if you can see the version of Perl in the command line.