Workshop
Quiz
1: | CGI programs can be written in
|
2: | The Web was invented before Perl.
|
Answers
A1: | 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.
Get Sams Teach Yourself Perl in 24 Hours 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.