Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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
Download (untitled) / with headers
text/plain 532b
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
Download bug_ro_sm.pl
text/x-perl 306b

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

Download (untitled) / with headers
text/plain 727b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.