Workshop

 <  Day Day Up  >  

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.

 <  Day Day Up  >  


SAMS Teach Yourself Perl in 24 Hours
Sams Teach Yourself Perl in 24 Hours (3rd Edition)
ISBN: 0672327937
EAN: 2147483647
Year: 2005
Pages: 241

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net