Insert comments
  1. Using the text editor, create a new script with this code:

    #!/usr/bin/perl

    print "Content-Type: text/html \n\n";

    # This is a simple script with comments
    # that explain what the code does.

    # These comments do not affect the way
    # the script works.

    print "Welcome to ACME AUTO!"; # You
    # can even put comments on the same line
    # as executable code.

Want ad-free tutorials like these for classroom use? Get them at Visilearn.com.