From: Steve Hancock Date: Thu, 24 Mar 2022 14:49:29 +0000 (-0700) Subject: minor -pbp formatting improvement, issue c054 X-Git-Tag: 20220217.03~33 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0f08cbc9a297292c44bc1d64f08b47a5bc3bad07;p=perltidy.git minor -pbp formatting improvement, issue c054 --- diff --git a/lib/Perl/Tidy/Formatter.pm b/lib/Perl/Tidy/Formatter.pm index 262cfe0b..beb47397 100644 --- a/lib/Perl/Tidy/Formatter.pm +++ b/lib/Perl/Tidy/Formatter.pm @@ -16145,6 +16145,10 @@ sub break_equals { # handle '.' and '?' specially below || ( $type_ibeg_2 =~ /^[\.\?]$/ ) + + # fix for c054 (unusual -pbp case) + || $type_ibeg_2 eq '==' + ); }