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: v1.90_01~127 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=04fca5d23748f5fb32ab99364cc3da35a942c922;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; }