and then in the Perl program, use param('user_list') to construct your array #! Perl -w use strict; use CGI; $my q = CGI->new; my @users = scalar $q->param('user_list'); &do_stuff($_) for (@users); # or whatever