use CGI; my $cgi = CGI->new; my @array_of_options = $cgi->param( 'options' );