- or download this
$condition{$key} = \@{$query->param($key)} || $condition{$key} = $quer
+y->param($key);
- or download this
$condition{$key} = [$query->param($key)];
- or download this
if (@{$condition{$key}} == 1) {
# one value
...
else {
# ... zero or more than one value
}