my @things = $q->param('t') || $q->param('things'); #### my @things = list($q->param('t')) || list($q->param('things'));