Q&A

Q1:These things that Perl runs, are they called Perl scripts or Perl programs?
A1: The name really doesn't matter. Traditionally, programs are compiled into machine code and stored that way, and the machine code can be run many times. On the other hand, scripts are fed to an external program that translates them into actions every time they're run. Larry Wall, creator of Perl, has said that a “script is what you give an actor, a program is what you give an audience.” Take that any way you'd like. For the remainder of this book, I'll call them Perl programs, and if you learn well, you can then be known as a Perl programmer.
Q2:I found my program under Windows using the Explorer and double-clicked on it. A DOS window opened, printed something, ...

Get SAMS Teach Yourself Perl in 24 Hours THIRD EDITION now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.