my @fields = $INPUT->param('titles'); foreach my $f (@fields) { #do something with $f... }