Workshop
Quiz
1: | CGI programs can be written in
Perl, the Unix shell, or C only Almost any programming language that can be run on the server
| 2: | The Web was invented before Perl.
|
AnswersA1:
| c. Perl is not special in this regard; it simply has some features for making CGI programming much easier and more reliable. | A2:
| b. Perl was invented in 1987, and the Web wasn't invented at CERN until 1991. |
Activities
Spice up your "Hello, World!" program a little bit. Print the current time (by using localtime), and maybe add some color and a table or two with HTML tags. Be creative. Remember that printing HTML in your Perl program will make the program appear in the final web page when the page is loaded.
|