Important Changes
Do NOT access google.com
to get your quotes. Instead of accessing google.com for queries,
use the following. For a google query likes:
http://www.google.com/search?q=Vbscript+sucks&hl=en&lr=&safe=off
use instead:
http://nas.uhcl.edu/yue/courses/csci4230/Fall2000/h4query.pl?q=Vbscript+sucks&hl=en&lr=&safe=off
I wrote the program h4query.pl to simulate google.com query results.
Since nas.uhcl.edu is within the same local area network, it will respond
to dcm.uhcl.edu.
New Due Date: will be announced in the class on October 4.
(1) Write a CGI/Perl program, h4q1.pl, to display a form to allow users to select a language from a predefined list. The program then displays the Web interest on the language by showing the number of hits, the number of positive sentiment pages (with language 'rules' found), the number of negative sentiment pages (with language 'sucks' found) and the rules/sucks ratio.
For example, the program initially displays:
If "Perl" is selected, the program goes to google.com and retrieve the counts of pages for "Perl", "Perl rules" and "Perl sucks" to display the following result:
The list of languages/technologies you should provide: