- or download this
my @vals = split /\|/, $DocumentReference;
for my $V (@vals) {
...
push @{$where{DocumentRef}{'-in'}}, $V;
}
}
- or download this
$SQL .= ' IN (' . join(", ", @{$where{DocumentRef}{'-in'}}), ') ';
- or download this
$SQL .= join(' OR ', map { "LIKE $_ " } @{$where{DocumentRef}{'-like'}
+});