Assignment 4

Due Tuesday 3/31 at the start of class

When you are done, send me an e-mail message. Also, hand in a printout of all three scripts.

You may use the parse-lib.pl file which contains a function named get_query. To access this, include the following statements in your scripts

require '/home/scsfac/downeyt/scripts/parse-lib.pl';
%query = &get_query;

After these commands. %query will be the associative array of name/value pairs of any parameters sent to your script. This function only works for the GET and POST methods. See the Notes under isindex.pl to see how to retrieve the keywords from an ISINDEX request.

You are to create an HTML document in the root of your server named scripts.html. On this page you will have links to three scripts: isindex.pl, random.pl, and confirm.pl

isindex.pl
random.pl
confirm.pl