BIOS 546 in class exercises for CGI
1. Write a simple CGI script that returns a greeting message when you click the Submit button.
You have previously written programs for these two tasks. Modify them so they work by CGI: have an HTML page with a form that asks for the proper input, then have a Perl program to process the input and return an HTML page with the proper output.
2. Write a program that translates a 3 base DNA code into the corresponding amino acid. Use a hash that has the triplet codes as the key and the amino acid ( 3 letter code) as value.
3. Write a program that has a subroutine that takes a list of numbers and returns their sum. The subroutine should be capable of dealing with any length of list.