my @colors = $cgi->param( 'color' ); # Note the array #### @files = cgi->param( 'file' );