Help for this page

Select Code to Download


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