#!/usr/bin/perl
print "\"Hello World\"\n";
print "I think this step was not difficult\n";
may be written asprint "\"Hello World\"\n";
to avoid escaping the doublequote char (for less cluttered code).print qq|"Hello World"\n|;
print qq{"Hello World"\n};
use strict;
It's a good habit to get into. Spots many common errors and points them out to you, when you try to run the script. Even finds them before you try to run the script, if you use the "-c" option from the commandline. For example:
perl -c myscript.pl
For even more information about possible trouble spots in your program, add this line, too (up towards the top somewhere):
use warnings;
While you're learning, you'll get more verbose (explanatory) error messages if you use this line, too (up towards the top somewhere):
use diagnostics;
What's your second script?