Robert's Perl Tutorial
Assuming all has gone to plan, you can now create your first Perl script. Follow these instructions, but before you start read them through once, then begin. That's a good idea with any form of computer-related procedure. So, to begin:
c:\scripts\, which is what I'll assume you are using in this tutorial.
print "My first Perl script\n";
c:\scripts\myfirst.pl. Be careful! Notepad will may save files with a
.txtextension, so you will end up with
myfirst.txt.plby default. Perl won't mind, it'll still execute the file. If your version of Notepad does this, select "All files" before saving or rename the file then load it again. Better yet, use a decent text editor!
and you'll see the output. Welcome to the world of Perl ! See what I mean about it being easy to start ? However, it is difficult to finish with Perl once you begin :-)