Skip Menu |

This queue is for tickets about the Math-PlanePath CPAN distribution.

Report information
The Basics
Id: 106738
Status: resolved
Priority: 0/
Queue: Math-PlanePath

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Can't redeclare "my" in "my"
The t/DigitGroups.t test fails since 5.23.2: Can't redeclare "my" in "my" at /usr/local/src/CPAN/build/2015082909/Math-PlanePath-120-jlvdQE/blib/lib/Math/PlanePath/DigitGroups.pm line 193, near ", " Compilation failed in require at t/DigitGroups.t line 32. t/DigitGroups.t ................. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 64/64 subtests
On 2015-08-29 04:04:32, SREZIC wrote: Show quoted text
> The t/DigitGroups.t test fails since 5.23.2: > > Can't redeclare "my" in "my" at > /usr/local/src/CPAN/build/2015082909/Math-PlanePath-120- > jlvdQE/blib/lib/Math/PlanePath/DigitGroups.pm line 193, near ", " > Compilation failed in require at t/DigitGroups.t line 32. > t/DigitGroups.t ................. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 64/64 subtests
This is probably the following change (from 5.23.2's perldelta.pod): Incompatible Changes Nested declarations are now disallowed A "my", "our", or "state" declaration is no longer allowed inside of another "my", "our", or "state" declaration. For example, these are now fatal: my ($x, my($y)); our (my $x); [perl #125587] <https://rt.perl.org/Ticket/Display.html?id=125587> [perl #121058] <https://rt.perl.org/Ticket/Display.html?id=121058>
Subject: Re: [rt.cpan.org #106738] Can't redeclare "my" in "my"
Date: Sun, 30 Aug 2015 17:05:03 +1000
To: "Slaven_Rezic via RT" <bug-Math-PlanePath [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
"Slaven_Rezic via RT" <bug-Math-PlanePath@rt.cpan.org> writes: Show quoted text
> > my ($x, my($y));
Thanks, I hadn't meant that, it'll be a typo cutting and pasting from where just one of them was a "my".
Fixed in version 121 I hope.