index fe027fe173ff61e95ad0b95d0287839e65dd0f26..0560933c190b087e269d36bba002a161b5164c69 100644 (file)
use Digest::MD5 qw(md5 md5_hex md5_base64);
use MIME::Base64;
use XML::Simple;
+use Data::Dumper;
my $op_hash = {
'eq' => '=',
push(@phrase_l, "$tag$operator'$val'");
}
my $clause_str .= join(" $connector ", @phrase_l);
- push(@clause_l, $clause_str);
+ push(@clause_l, "($clause_str)");
}
if( not 0 == @clause_l ) {
my $select = "*";
if( exists $msg_hash->{'select'} ) {
my $select_l = \@{$msg_hash->{'select'}};
- $select = join(' AND ', @{$select_l});
+ $select = join(', ', @{$select_l});
}
return $select;
}