Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-PPPort CPAN distribution.

Report information
The Basics
Id: 50763
Status: resolved
Priority: 0/
Queue: Devel-PPPort

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: mistaken use of $[
Date: Fri, 23 Oct 2009 00:13:35 +0100
To: bug-Devel-PPPort [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Devel-PPPort/parts/inc/magic and Devel-PPPort/t/magic.t both contain the line ok($[ < 5.009 || $@ eq ''); This is obviously intending to examine the Perl version number, which is $]. $[ is the array index offset, which is effectively always zero. -zefram
CC: zefram [...] fysh.org
Subject: Re: [rt.cpan.org #50763] mistaken use of $[
Date: Mon, 2 Nov 2009 22:21:14 +0100
To: bug-Devel-PPPort [...] rt.cpan.org
From: Marcus Holland-Moritz <mhx-perl [...] gmx.net>
Hello Zefram, On 2009-10-22, at 19:13:59 -0400, Zefram via RT wrote: Show quoted text
> Thu Oct 22 19:13:58 2009: Request 50763 was acted upon. > Transaction: Ticket created by zefram@fysh.org > Queue: Devel-PPPort > Subject: mistaken use of $[ > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: zefram@fysh.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=50763 > > > > Devel-PPPort/parts/inc/magic and Devel-PPPort/t/magic.t both contain > the line > > ok($[ < 5.009 || $@ eq ''); > > This is obviously intending to examine the Perl version number, which > is $]. $[ is the array index offset, which is effectively always zero.
Again, you're right. This will be fixed in the next release of Devel::PPPort. Marcus
Download signature.asc
application/pgp-signature 198b

Message body not shown because it is not plain text.

Fixed in 3.19_01.