Skip Menu |

This queue is for tickets about the Dios CPAN distribution.

Report information
The Basics
Id: 106477
Status: open
Priority: 0/
Queue: Dios

People
Owner: Nobody in particular
Requestors: me [...] peter-r.co.uk
Cc:
AdminCc:

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



Subject: Cannot have attribute called $.y
Date: Sun, 16 Aug 2015 11:30:39 +0100
To: bug-Dios [...] rt.cpan.org
From: Peter Roberts <me [...] peter-r.co.uk>
Take this script http://paste.ubuntu.com/12096538/ I get Show quoted text
> perl dios-broken.pl
Unmatched right curly bracket at dios-broken.pl line 23, at end of line syntax error at dios-broken.pl line 23, near "}" Execution of dios-broken.pl aborted due to compilation errors. But s/y/yy/g as in the following script http://paste.ubuntu.com/12096529/ And I get the expected output Show quoted text
> perl dios-working.pl
23.259406699226 Show quoted text
> perl -v
This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux (with 1 registered patch, see perl -V for more detail) it also happens under 5.20 -- Thanks Peter Roberts
Subject: Re: [rt.cpan.org #106477] Cannot have attribute called $.y
Date: Wed, 19 Aug 2015 09:45:15 +1000
To: bug-Dios [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Hi Peter, Thanks so much for the bug report. This is a genuine problem, which I'm struggling to track well enough to solve. The same problem arises for attributes named 's' or 'qr' or 'tr', etc. which indicates that it's a parsing problem. That problem may be inside PPI or in perl itself...I'm still investigating. For the moment, I have no satisfactory work-around to suggest, except avoiding attribute names that also happen to be the leading keywords of quotelike operators. :-( I'll upload a fix as soon as I can find one. Damian