From: Matt S Trout Date: Mon, 16 Sep 2019 17:45:51 +0000 (+0000) Subject: in practice, shoving a space after every ) turned out to suck X-Git-Tag: v2.000000~3^2~148 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fa74fd26625b854f69c5190c9735f2c9bae8e3c3;p=dbsrgits%2FSQL-Abstract.git in practice, shoving a space after every ) turned out to suck --- diff --git a/lib/SQL/Abstract/Formatter.pm b/lib/SQL/Abstract/Formatter.pm index ffb5e18..2404d82 100644 --- a/lib/SQL/Abstract/Formatter.pm +++ b/lib/SQL/Abstract/Formatter.pm @@ -55,7 +55,7 @@ sub _fold_sql { push @res, $folded."\n"; $line_orig = $line = $indent0.')'.( - ($nl_post and $idx < $#parts) ? ' '.$nl_post : ' ' + ($nl_post and $idx < $#parts) ? $nl_post : '' ); next PART; }