Skip Menu |
 

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

Report information
The Basics
Id: 130394
Status: open
Priority: 0/
Queue: Perl-Tidy

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

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



Subject: Allow short nested blocks
Download (untitled) / with headers
text/plain 211b
I would like the following on a single line: my $factorial = do { reduce { $a * $b } 1 .. 11 }; But all options I try always results in: my $factorial = do { reduce { $a * $b } 1 .. 11; };
Download (untitled) / with headers
text/plain 352b
On Wed Aug 28 12:00:13 2019, justincase wrote: Show quoted text
> I would like the following on a single line: > > my $factorial = do { reduce { $a * $b } 1 .. 11 }; > > But all options I try always results in: > > my $factorial = do { > reduce { $a * $b } 1 .. 11; > };
I don't see a way to do this, but it would be nice. I'll look at it. Steve


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.