Skip Menu |

This queue is for tickets about the Perl-Tidy CPAN distribution.

Report information
The Basics
Id: 81853
Status: resolved
Priority: 0/
Queue: Perl-Tidy

People
Owner: Nobody in particular
Requestors: parlay [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Can't stack block braces
This is example from perlsyn: do {{ next if $x == $y; # do something here }} until $x++ > $z; always results in: do { { next if $x == $y; # do something here } } until $x++ > $z; no matter which stacking or tightness options are used.
Use the flag -wn (--weld-nested_containers) in version 20180101. Steve
From: parlay [...] yopmail.com
On Sun Dec 31 10:55:57 2017, SHANCOCK wrote: Show quoted text
> Use the flag -wn (--weld-nested_containers) in version 20180101. > Steve
Can the space space between the welded container symbols be made to respect the tightness settings so the example in this ticket (the one still used in perlsyn) can be achieved? Thanks.
Subject: Re: [rt.cpan.org #81853] Can't stack block braces
Date: Sun, 31 Dec 2017 10:34:56 -0800
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <s7078hancock [...] gmail.com>
The tightness settings still apply. For example, perltidy -wn -act=2: do {{ next if ($n % 2); print $n, "\n"; }} while ($n++ < 10); On Sun, Dec 31, 2017 at 9:11 AM, parlay via RT <bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Queue: Perl-Tidy > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81853 > > > On Sun Dec 31 10:55:57 2017, SHANCOCK wrote:
> > Use the flag -wn (--weld-nested_containers) in version 20180101. > > Steve
> > Can the space space between the welded container symbols be made to > respect the tightness settings so the example in this ticket (the one still > used in perlsyn) can be achieved? Thanks. >