The purpose of this assignment to simply make sure that our website is set up correctly to run CGI software.
This is the CGI script that wewere given to test CGI. env.cgi prints out the environmental variables currently in use on the computer accessing the page.
The source of the script can be seen here: env.pl.
In this assignment, we used Perl to search through a string and seperate all the word characters from all the non word characters.
Here is the script that was created in order to accomplish such a task: token.pl.
For this one, we modified an existing perl script countwords.pl. This script reads in an input file gettysburg.address and counts the number of occurences of each word and prints out the input file and the list of all these words counts to a file output.txt.
Our task was to modify the script to scan through the input file and print out the list of words with the line number(s) on which each word appears. My file countwords.pl is here and the output can be viewed in the file output.txt.
We were given javascript code that sets up a partial GPA calculator, and it was up to us to complete it. More rows needed to be added, as well as the ability to handle all University grades (in bot upper and lower case).
Here is a link to the original page: Dr. Beidler's Calculator.
And here is my calculator My Calculator.
For Assignment #5, we were to set up this webpage and incorporate some piece of javascript code into it. My piece can be seen above in the form of a select menu.