Chapter 2 – How to run Perl
This quick guide was written towards Windows users. Some modifications will have to be done for Linux or Mac users but this guide should still cover the basics.
Right click on Dekstop and select New>Text document
Rename the file as test.p;. PL is the Perl file extension.
Double click test.pl and enter the Perl codes as you see below. (start at the top of the document)
Click on your Start menu and click Run. Type in cmd or command depending what version of Windows you are running. Click enter.
If you are not on the Desktop, you need to navigate the command line until you’re on the desktop.
To run a perl script, you need to type in perl filename. In our example, test.pl is our filename so we type in perl test.pl. Click enter and the script should run.