Thanks,
It breaks vertical alignment when the right hand sides are complex and
different.
I'll look at it.
Steve
On Wed, Jan 17, 2018 at 6:33 AM, dugrim via RT <bug-Perl-Tidy@rt.cpan.org>
wrote:
Show quoted text> Wed Jan 17 09:33:45 2018: Request 124114 was acted upon.
> Transaction: Ticket created by dugrim@gmx.de
> Queue: Perl-Tidy
> Subject: Fat comma alignment does not work in all cases
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: dugrim@gmx.de
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=124114 >
>
>
> Example:
>
> #!/usr/bin/perl
> my %h = {
> a => 2 > 3 ? 1 : 0,
> bbbb => sub { my $y = "1" },
> c => sub { my $z = "2" },
> d => 2 > 3 ? 1 : 0,
> };
>
> Using perl-tidy with default options I would expect all fat commas to be
> aligned
>
> perl 5.16.3
> perl-tidy 20180101
>
>