in reply to use strict again

I took damndirtyape and co.'s advice, and I was able to fix the problems. Now I added more and have the same problem

Well, maybe you forgot one piece of advice: this is something that you can -- should -- ALWAYS do at the command line prompt before trying anything via a browser:

perl -cw your_cgi_script
This will show you whether there are any compilation problems in your current script, and if so, what they are and where they are. Refer to the line numbers listed, fix the problems mentioned, and repeat the cycle until "perl -cw" reports "OKAY". So, given the version of the script you've posted this time, here is the list:
Global symbol "%total" requires explicit package name at test.perl li +ne 50. Bareword "true" not allowed while "strict subs" in use at test.perl l +ine 53. test.perl had compilation errors.
Not as bad as the last time, but there is a familiar item here...