How to get started with your first Perl script
Check you have Perl installed by typing the command below into your command line program:
Now create a 'perl_tests' folder to save your test files into, you will need to be able to find this from the command line.
#!/usr/bin/perl use strict; use warnings; print "hi NAME\n";
Save this file as plain text into your 'perl_tests' folder, name the file 'hello_world.pl'.
Then run the script from the command line by typing:
Open the file again and replace NAME, with your name. Save the file.
Run the script again by typing
Video of the above steps