Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: pagenyon [...] gmail.com
Cc:
AdminCc:

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



Subject: add space after ! operator without breaking !! secret operator
Download (untitled) / with headers
text/plain 416b
i set -wrs="!" to make "!$var" format as "! $var", which i find to be more legible. the problem is this causes the commonly used secret operator "!!" to be reformatted as "! !". the POD mentions --tight-secret-operators, but it doesn't support "!!". if support was added, would it fix this case? or maybe the behavior could be made more generic so that the spacing is only added between operators and non-operators.
Subject: Re: [rt.cpan.org #124298] add space after ! operator without breaking !! secret operator
Date: Thu, 1 Feb 2018 23:20:13 -0800
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <s7078hancock [...] gmail.com>
Download (untitled) / with headers
text/plain 968b
I'll fix it in the next version. Steve On Thu, Feb 1, 2018 at 10:15 PM, pagenyon via RT <bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Fri Feb 02 01:15:50 2018: Request 124298 was acted upon. > Transaction: Ticket created by pagenyon > Queue: Perl-Tidy > Subject: add space after ! operator without breaking !! secret > operator > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: pagenyon@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124298 > > > > i set -wrs="!" to make "!$var" format as "! $var", which i find to be more > legible. the problem is this causes the commonly used secret operator "!!" > to be reformatted as "! !". the POD mentions --tight-secret-operators, but > it doesn't support "!!". if support was added, would it fix this case? or > maybe the behavior could be made more generic so that the spacing is only > added between operators and non-operators. >
This is fixed in version 20180219


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.