Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Readonly CPAN distribution.

Report information
The Basics
Id: 59256
Status: resolved
Priority: 0/
Queue: Readonly

People
Owner: sanko [...] cpan.org
Requestors: perlbug [...] delarey.org
Cc:
AdminCc:

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



Subject: Readonly-1.03, array, smart-matching and Perl 5.12.1
Date: Sat, 10 Jul 2010 23:47:54 +0100
To: bug-Readonly [...] rt.cpan.org
From: perlbug [...] delarey.org
Date: Sat, 10 Jul 2010 18:47:54 -0400
Hi, I recently ran into the following problem testing some code with Perl 5.12.1. When using smart-matching to search a Readonly array there is an unexpected failure to match a value definitely in the array. The same code finds a match when running under Perl 5.10.1. I have found this to happen on Solaris 5.10 SPARC and Arch GNU/Linux 2.6.34 Intel. The code attached illustrates the problem; on 5.10.1 it produces: plain array : 1 readonly array: 1 but on 5.12.1 plain array : 1 readonly array: 0 Thanks, Gavin.
Date: Sat, 10 Jul 2010 18:47:54 -0400

Message body is not shown because sender requested not to inline it.

On Sat Jul 10 18:48:03 2010, perlbug@delarey.org wrote: Show quoted text
> Hi, > > I recently ran into the following problem testing some code with Perl > 5.12.1. > > When using smart-matching to search a Readonly array there is an > unexpected failure to match a value definitely in the array. The same > code finds a match when running under Perl 5.10.1. I have found this to > happen on Solaris 5.10 SPARC and Arch GNU/Linux 2.6.34 Intel. > > The code attached illustrates the problem; on 5.10.1 it produces: > > plain array : 1 > > readonly array: 1 > > but on 5.12.1 > > plain array : 1 > > readonly array: 0 > > Thanks, > Gavin.
Reported upstream to p5p as bug #120122 in perl itself. -- Sanko Robinson sanko@cpan.org