Maynard
09-15-2003, 09:28 AM
Hello all, I am new to this forum although I have lurked as a guest for a few months.
I have a beginner's question to present to the forum. How would I do the following in PERL/CGI:
On the site we present a report card on the company's performance such as: "Customer service is our priority" and then we have a textbox, asking users to enter a percentage score of how well we've done on this. So:
1) User A enters a number percentage (eg 33)
2) This number is added to other users' scores (eg 33 + 45 + 100, contained in a text file? how would we enter these in a text file that made it easy to add up?)
3) An average percentage of all the users' scores is calculated (including the new user A's)
4) This average percentage is returned to user A
My PERL level is beginners but I understand basic concepts (having scripted search engines and using DBI/SQL)
Hope you can help.
Cheers, Maynard.
I have a beginner's question to present to the forum. How would I do the following in PERL/CGI:
On the site we present a report card on the company's performance such as: "Customer service is our priority" and then we have a textbox, asking users to enter a percentage score of how well we've done on this. So:
1) User A enters a number percentage (eg 33)
2) This number is added to other users' scores (eg 33 + 45 + 100, contained in a text file? how would we enter these in a text file that made it easy to add up?)
3) An average percentage of all the users' scores is calculated (including the new user A's)
4) This average percentage is returned to user A
My PERL level is beginners but I understand basic concepts (having scripted search engines and using DBI/SQL)
Hope you can help.
Cheers, Maynard.