From: Matt S Trout Date: Sun, 29 Sep 2019 18:10:25 +0000 (+0000) Subject: simplify multop -keyword use X-Git-Tag: v2.000000~3^2~94 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=459038caaf02f3a51bdd674ed1e2bde86c9fc9d4;p=dbsrgits%2FSQL-Abstract.git simplify multop -keyword use --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index a926d0c..76f83b9 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -1521,7 +1521,7 @@ sub _render_op_multop { return $self->render_aqt($parts[0]) if @parts == 1; my $join = ($op eq ',' ? ', ' - : { -keyword => ' '.join(' ', split '_', $op).' ' } + : { -keyword => " ${op} " } ); return $self->join_query_parts($join, @parts); }