Skip Menu |

This queue is for tickets about the Data-Dx CPAN distribution.

Report information
The Basics
Id: 128857
Status: resolved
Priority: 0/
Queue: Data-Dx

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

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



Subject: Dx inside while (<DATA>) causes problems
Date: Sat, 16 Mar 2019 20:58:13 +0200
To: bug-data-dx [...] rt.cpan.org
From: Patrick Abi Salloum <patrick.abisalloum [...] gmail.com>
#This program does nothing! It works if I comment out the Dx though. use Data::Dx; while (<DATA>) { print; Dx 1; } __DATA__ Hello World!
Subject: Re: [rt.cpan.org #128857] Dx inside while (<DATA>) causes problems
Date: Sat, 16 Mar 2019 22:21:26 +0000
To: bug-Data-Dx [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Thanks for the report, Patrick. This is actually a bug in the dependency Keyword::Simple. I have reported the problem to the maintainer, Lukas Mai, but I do not expect it to be fixed soon, as Lukas does not seem to have been active with that module for some time now. Meanwhile, I will investigate whether I can code some kind of work-around into Keyword::Declare, though that may take me some time. Once again, much appreciated. Damian
Subject: Re: [rt.cpan.org #128857] Dx inside while (<DATA>) causes problems
Date: Sun, 17 Mar 2019 19:42:53 +0000
To: bug-Data-Dx [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Hi Patrick, I just uploaded a new version of Keyword::Declare which should enable Data::Dx (and any other module that used Keyword::Declare) to preserve __DATA__ sections as well. Note that the version of Keyword::Declare that you need is 0.001012, which may take an hour or two to propagate across CPAN. Let me know if this doesn't solve your problem. And thanks again for the report. Damian