... use CGI; my $q = CGI->new; my @teamOption = $q->param("teamOption"); ...