in reply to cgi problem returns

You need to have a CGI object that will initialize and grab the data, before you can use it. Include my $cgi = new CGI; after your use calls, and then use $cgi->param("teamOption") to get the remaining details.
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain