Perl In Class Exercise

1. Ask the user for a word and say good when the word is "The" and bad when it is not "The".

2. Change #1 to say good when the word starts with The and ends with end. (Use =~ m/ / )

3. Change #1 to read the first word from a file named ex1.txt, one line per word. Tell whether it starts with The and ends with end

4. Change #1 to read all the words from the file named ex1.txt, listing whether each word starts with The and ends with end

5. Make this a web page by placing it into public_html and changing the permissions to executable for world. (must add print "content-type:text/html; charset=utf-8\n\n"; use the full file path.)