Приглашаем посетить
Брюсов (bryusov.lit-info.ru)

Workshop

Previous Table of Contents Next

Workshop

Quiz

1:

CGI programs can be written in

  1. Perl, the Unix shell, or C only

  2. Perl only

  3. Almost any programming language that can be run on the server

2:

The Web was invented before Perl.

  1. True

  2. False

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.

    Previous Table of Contents Next