CSC3320 extra credit 25 points due at the Final exam. Dr. Harrison Spring 2002

Please give me a printed copy of the program and output. Make sure your name is on both. This grade will be averaged with the worst grade in your set in the way that will make the most difference in the final grade (this is no big deal since I have the grades in a spreadsheet). Since uncompleted assignments score as 0, it is also very important that you finish them all if you want this to apply to a test grade.




  1. Write a program in PERL that generates a web page. The input to the program will consist of a line of the form.

    #fontcolor=red#background=green#name=bozzo.the.clown. (the colors and name are arbitrary so don't hard code red, green and bozzo.the.clown into your PERL program). The order of the fields is arbitrary so you must check the key words (i.e. fontcolor, background, name) and handle them appropriately. The output should be a proper html page (with <html><head>...</head><body>...</body></html> where the colors are used and the name is used in the body of the page. It should have a header which displays (in this case) Bozzo The Clown's personal page. (again the name should come from the name field in the input and not be hard coded into the program). The page has to be generated by a PERL script and NO CREDIT will be given for a html page on its own.