Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: marc [...] 0branch.com
Cc:
AdminCc:

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



Subject: Double diamond operator (5.22+) interpreted as a here-document
Date: Mon, 5 Dec 2016 19:13:03 -0800
To: bug-Perl-Tidy [...] rt.cpan.org
From: Marc Simpson <marc [...] 0branch.com>
Download (untitled) / with headers
text/plain 370b
Perl::Tidy (v20160302) interprets the new double diamond operator as a here-document, resulting in an error. Trivial example (stub), $ echo 'while (<>)' | perltidy -se while (<>) $ echo 'while (<<>>)' | perltidy -se -w 1: Unconventional here-target: '' while (<<>>) 1: hit EOF in here document starting at line 1 with empty target string
Subject: Re: [rt.cpan.org #119140] Double diamond operator (5.22+) interpreted as a here-document
Date: Tue, 6 Dec 2016 06:29:30 -0800
To: "bug-Perl-Tidy [...] rt.cpan.org" <bug-Perl-Tidy [...] rt.cpan.org>
From: Steven Hancock <perltidy [...] users.sourceforge.net>
Download (untitled) / with headers
text/plain 926b
Got it, Thanks, Steve On Mon, Dec 5, 2016 at 7:13 PM, Marc Simpson via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Mon Dec 05 22:13:34 2016: Request 119140 was acted upon. > Transaction: Ticket created by marc@0branch.com > Queue: Perl-Tidy > Subject: Double diamond operator (5.22+) interpreted as a > here-document > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: marc@0branch.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119140 > > > > Perl::Tidy (v20160302) interprets the new double diamond operator as a > here-document, resulting in an error. > > Trivial example (stub), > > $ echo 'while (<>)' | perltidy -se > while (<>) > $ echo 'while (<<>>)' | perltidy -se -w > 1: Unconventional here-target: '' > while (<<>>) > 1: hit EOF in here document starting at line 1 with empty target > string > >
This is fixed in version 20170521.


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.