my $val = $query->param('foo') || 'default value'; #### my @texts = $query->param('text');