I am confused by this bit tho and how I can get the different form values into @form
my @form = map { $cgi->param("form$_") } 0..21;
When trying to run this at the mo. I get the error message: Can't call method "param" on an undefined value line 31 which is where the above line sits.