I have a website listing various shops. Each shop has an unique id number. I would like to use a simple voting script that allows me to take votes(1-10) for any shop with the call cgi-bin/vote.cgi?id=1,cgi-bin/vote.cgi?id=2 etc. I would also like the ability to display the average vote using shtml e.g. cgi-bin/displayvote.cgi?id=1. I am looking for a very simple script which allows me to do this, WHEREVER I insert the voting and display code for each and every shop. I would also like to do the same for comments, e.g. take comments based on id number, and display comments for each shop using shtml.
I have seen scripts like this on 'rate a photo' websites, but they are in php. I am looking for a perl solution.
The problem with many of the scripts I have found in the usual places are they are too complex for what I need, what I am looking for is very simple. Just take votes and comments based on an id number, store them against id numbers(or in the case of votes just keep an average), and display appropriate vote/comments when id number is called.
Can anyone help?