Skip Menu |
 

This queue is for tickets about the List-MoreUtils CPAN distribution.

Report information
The Basics
Id: 102885
Status: resolved
Priority: 0/
Queue: List-MoreUtils

People
Owner: Nobody in particular
Requestors: louying [...] pwrd.com
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, score=-1.909 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
X-Mailer: Microsoft Outlook 14.0
X-Spam-Flag: NO
Content-Language: zh-cn
Content-Type: multipart/alternative; boundary="----=_NextPart_000_003C_01D06274.2C849840"
Message-ID: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -1.909
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id B07A261E00C for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Thu, 19 Mar 2015 06:40:42 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MChouveSnrVi for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Thu, 19 Mar 2015 06:40:37 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 442262400CA for <bug-List-MoreUtils [...] rt.cpan.org>; Thu, 19 Mar 2015 06:40:36 -0400 (EDT)
Received: (qmail 1903 invoked by alias); 19 Mar 2015 10:40:36 -0000
Received: from pwrd.com (HELO sbjmeg01.oa.wanmei.com) (124.193.167.254) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 19 Mar 2015 03:40:32 -0700
Received: from sbjcas01.oa.wanmei.com (10.255.254.12) by sbjmeg01.oa.wanmei.com (10.255.254.16) with Microsoft SMTP Server (TLS) id 8.2.176.0; Thu, 19 Mar 2015 18:40:22 +0800
Received: from louyingPC (10.2.20.19) by sbjcas01.oa.wanmei.com (10.255.254.32) with Microsoft SMTP Server id 8.2.176.0; Thu, 19 Mar 2015 18:40:23 +0800
Delivered-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
Subject: uniq function bug
Return-Path: <louying [...] pwrd.com>
Thread-Index: AdBiMQyE9jZlN62ZRaCoYgK44WXaEQ==
X-RT-Mail-Extension: list-moreutils
X-Original-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Date: Thu, 19 Mar 2015 18:40:29 +0800
X-Spam-Level:
To: <bug-List-MoreUtils [...] rt.cpan.org>
From: 楼颖 <louying [...] pwrd.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: gbk
Content-Length: 288
Download (untitled) / with headers
text/plain 288b
Dear, follow array use function uniq lead to incorrect result. [0] "1603601,20150319", [1] "1600581,20150319", [2] "0300247,20150319", [3] "0300092,20150319", [4] "0002694,20150319", [5] "0002663,20150319", [6] "0002325,20150319", [7] "0002093,20150319"
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: gbk
Content-Length: 3261
MIME-Version: 1.0
In-Reply-To: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-1876-1426762026-1490.102885-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 501
Download (untitled) / with headers
text/plain 501b
On Thu Mar 19 06:40:47 2015, louying@pwrd.com wrote: Show quoted text
> Dear, follow array use function uniq lead to incorrect result. > > > [0] "1603601,20150319", > [1] "1600581,20150319", > [2] "0300247,20150319", > [3] "0300092,20150319", > [4] "0002694,20150319", > [5] "0002663,20150319", > [6] "0002325,20150319", > [7] "0002093,20150319"
Can you please attach a small script or code piece showing your use-case and the expected result compared to wrong given? Thanks in advance
MIME-Version: 1.0
In-Reply-To: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-14986-1426765094-112.102885-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 782
Download (untitled) / with headers
text/plain 782b
perl -MData::Dumper -MList::MoreUtils=uniq -e 'my @a = qw(1603601,20150319 1600581,20150319 0300247,20150319 0300092,20150319 0002694,20150319 0002663,20150319 0002325,20150319 0002093,20150319); print Dumper \@a; print Dumper [uniq @a]' $VAR1 = [ '1603601,20150319', '1600581,20150319', '0300247,20150319', '0300092,20150319', '0002694,20150319', '0002663,20150319', '0002325,20150319', '0002093,20150319' ]; $VAR1 = [ '1603601,20150319', '1600581,20150319', '0300247,20150319', '0300092,20150319', '0002694,20150319', '0002663,20150319', '0002325,20150319', '0002093,20150319' ]; I don't see any problem
MIME-Version: 1.0
X-Spam-Status: No, score=-3.909 tagged_above=-99.9 required=10 tests=[AWL=2.001, BAYES_00=-1.9, FROM_OUR_RT=-4, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
In-Reply-To: <rt-4.0.18-14986-1426765095-1880.102885-6-0 [...] rt.cpan.org>
X-Mailer: Microsoft Outlook 14.0
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-102885 [...] rt.cpan.org> <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com> <rt-4.0.18-14986-1426765095-1880.102885-6-0 [...] rt.cpan.org>
Content-Language: zh-cn
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <000b01d062aa$a79756e0$f6c604a0$ [...] pwrd.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.909
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 0A34524039C for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Thu, 19 Mar 2015 21:10:41 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xlnRSoITtEuz for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Thu, 19 Mar 2015 21:10:37 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 99582240203 for <bug-List-MoreUtils [...] rt.cpan.org>; Thu, 19 Mar 2015 21:10:35 -0400 (EDT)
Received: (qmail 14057 invoked by alias); 20 Mar 2015 01:10:35 -0000
Received: from pwrd.com (HELO sbjmeg01.oa.wanmei.com) (124.193.167.254) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 19 Mar 2015 18:10:30 -0700
Received: from sbjcas01.oa.wanmei.com (10.255.254.12) by sbjmeg01.oa.wanmei.com (10.255.254.16) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 20 Mar 2015 09:10:20 +0800
Received: from louyingPC (10.2.20.19) by sbjcas01.oa.wanmei.com (10.255.254.32) with Microsoft SMTP Server id 8.2.176.0; Fri, 20 Mar 2015 09:10:22 +0800
Delivered-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
Subject: 答复: [rt.cpan.org #102885] uniq function bug
Return-Path: <louying [...] pwrd.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
X-RT-Mail-Extension: list-moreutils
Thread-Index: AQGo5s96pnP+h973te4y4BBDyhFzCQIR3LyxAo4YOvCdTodZYA==
Date: Fri, 20 Mar 2015 09:10:28 +0800
X-Spam-Level:
To: <bug-List-MoreUtils [...] rt.cpan.org>
Content-Transfer-Encoding: quoted-printable
From: 楼颖 <louying [...] pwrd.com>
RT-Message-ID: <rt-4.0.18-14274-1426813841-1611.102885-0-0 [...] rt.cpan.org>
Content-Length: 1727
Download (untitled) / with headers
text/plain 1.6k
Follow is section of my big program: use DDP; use List::MoreUtils qw(uniq) ..... @cfg_array = grep { $_ =~ /^\d{7}.*/ } @cfg_array; p @cfg_array; @cfg_array = uniq @cfg_array; p @cfg_array; exit; ..... I gen the following output : [ [0] "1603601,20150319", [1] "1600581,20150319", [2] "0300247,20150319", [3] "0300092,20150319", [4] "0002694,20150319", [5] "0002663,20150319", [6] "0002325,20150319", [7] "0002093,20150319" ] (tied to Tie::File) [ [0] "1603601,20150319" ] (tied to Tie::File) This just happen in List::MoreUtils(0.408), 0.406 work fine. Regards -----邮件原件----- 发件人: Jens Rehsack via RT [mailto:bug-List-MoreUtils@rt.cpan.org] 发送时间: 2015年3月19日 19:38 收件人: 楼颖 主题: [rt.cpan.org #102885] uniq function bug <URL: https://rt.cpan.org/Ticket/Display.html?id=102885 > perl -MData::Dumper -MList::MoreUtils=uniq -e 'my @a = qw(1603601,20150319 1600581,20150319 0300247,20150319 0300092,20150319 0002694,20150319 0002663,20150319 0002325,20150319 0002093,20150319); print Dumper \@a; print Dumper [uniq @a]' $VAR1 = [ '1603601,20150319', '1600581,20150319', '0300247,20150319', '0300092,20150319', '0002694,20150319', '0002663,20150319', '0002325,20150319', '0002093,20150319' ]; $VAR1 = [ '1603601,20150319', '1600581,20150319', '0300247,20150319', '0300092,20150319', '0002694,20150319', '0002663,20150319', '0002325,20150319', '0002093,20150319' ]; I don't see any problem
MIME-Version: 1.0
X-Spam-Status: No, score=-4.91 tagged_above=-99.9 required=10 tests=[AWL=1.000, BAYES_00=-1.9, FROM_OUR_RT=-4, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
In-Reply-To:
X-Mailer: Microsoft Outlook 14.0
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-102885 [...] rt.cpan.org> <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com> <rt-4.0.18-14986-1426765095-1880.102885-6-0 [...] rt.cpan.org>
Content-Language: zh-cn
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <000c01d062ab$7d418540$77c48fc0$ [...] pwrd.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -4.91
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 9330124039C for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Thu, 19 Mar 2015 21:16:30 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ekWLd8nX5d0a for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Thu, 19 Mar 2015 21:16:28 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 87641240203 for <bug-List-MoreUtils [...] rt.cpan.org>; Thu, 19 Mar 2015 21:16:28 -0400 (EDT)
Received: (qmail 14663 invoked by alias); 20 Mar 2015 01:16:28 -0000
Received: from pwrd.com (HELO sbjmeg01.oa.wanmei.com) (124.193.167.254) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 19 Mar 2015 18:16:26 -0700
Received: from sbjcas01.oa.wanmei.com (10.255.254.12) by sbjmeg01.oa.wanmei.com (10.255.254.16) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 20 Mar 2015 09:16:18 +0800
Received: from louyingPC (10.2.20.19) by sbjcas01.oa.wanmei.com (10.255.254.32) with Microsoft SMTP Server id 8.2.176.0; Fri, 20 Mar 2015 09:16:20 +0800
Delivered-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
Subject: 答复: [rt.cpan.org #102885] uniq function bug
Return-Path: <louying [...] pwrd.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
X-RT-Mail-Extension: list-moreutils
Thread-Index: AQGo5s96pnP+h973te4y4BBDyhFzCQIR3LyxAo4YOvCdTodZYIAAAeUg
Date: Fri, 20 Mar 2015 09:16:27 +0800
X-Spam-Level:
To: <bug-List-MoreUtils [...] rt.cpan.org>
Content-Transfer-Encoding: quoted-printable
From: 楼颖 <louying [...] pwrd.com>
RT-Message-ID: <rt-4.0.18-31927-1426814191-1677.102885-0-0 [...] rt.cpan.org>
Content-Length: 2072
My develop env is : OS : win7 64bit Perl : activestate perl 5.16.3(32 bit) List::Moreutil : 0.408 build from cpan not PPM. Regards -----邮件原件----- 发件人: 楼颖 [mailto:louying@pwrd.com] 发送时间: 2015年3月20日 9:10 收件人: 'bug-List-MoreUtils@rt.cpan.org' 主题: 答复: [rt.cpan.org #102885] uniq function bug Follow is section of my big program: use DDP; use List::MoreUtils qw(uniq) ..... @cfg_array = grep { $_ =~ /^\d{7}.*/ } @cfg_array; p @cfg_array; @cfg_array = uniq @cfg_array; p @cfg_array; exit; ..... I gen the following output : [ [0] "1603601,20150319", [1] "1600581,20150319", [2] "0300247,20150319", [3] "0300092,20150319", [4] "0002694,20150319", [5] "0002663,20150319", [6] "0002325,20150319", [7] "0002093,20150319" ] (tied to Tie::File) [ [0] "1603601,20150319" ] (tied to Tie::File) This just happen in List::MoreUtils(0.408), 0.406 work fine. Regards -----邮件原件----- 发件人: Jens Rehsack via RT [mailto:bug-List-MoreUtils@rt.cpan.org] 发送时间: 2015年3月19日 19:38 收件人: 楼颖 主题: [rt.cpan.org #102885] uniq function bug <URL: https://rt.cpan.org/Ticket/Display.html?id=102885 > perl -MData::Dumper -MList::MoreUtils=uniq -e 'my @a = qw(1603601,20150319 1600581,20150319 0300247,20150319 0300092,20150319 0002694,20150319 0002663,20150319 0002325,20150319 0002093,20150319); print Dumper \@a; print Dumper [uniq @a]' $VAR1 = [ '1603601,20150319', '1600581,20150319', '0300247,20150319', '0300092,20150319', '0002694,20150319', '0002663,20150319', '0002325,20150319', '0002093,20150319' ]; $VAR1 = [ '1603601,20150319', '1600581,20150319', '0300247,20150319', '0300092,20150319', '0002694,20150319', '0002663,20150319', '0002325,20150319', '0002093,20150319' ]; I don't see any problem
MIME-Version: 1.0
X-Spam-Status: No, score=-5.243 tagged_above=-99.9 required=10 tests=[AWL=0.667, BAYES_00=-1.9, FROM_OUR_RT=-4, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
In-Reply-To: <rt-4.0.18-14986-1426765095-1880.102885-6-0 [...] rt.cpan.org>
X-Mailer: Microsoft Outlook 14.0
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-102885 [...] rt.cpan.org> <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com> <rt-4.0.18-14986-1426765095-1880.102885-6-0 [...] rt.cpan.org>
Content-Language: zh-cn
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <000d01d062ad$249fefb0$6ddfcf10$ [...] pwrd.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.243
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 4A33F24039C for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Thu, 19 Mar 2015 21:28:22 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wwD+IE+NqJnu for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Thu, 19 Mar 2015 21:28:21 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 04123240203 for <bug-List-MoreUtils [...] rt.cpan.org>; Thu, 19 Mar 2015 21:28:20 -0400 (EDT)
Received: (qmail 15714 invoked by alias); 20 Mar 2015 01:28:20 -0000
Received: from pwrd.com (HELO sbjmeg01.oa.wanmei.com) (124.193.167.254) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 19 Mar 2015 18:28:16 -0700
Received: from sbjcas01.oa.wanmei.com (10.255.254.12) by sbjmeg01.oa.wanmei.com (10.255.254.16) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 20 Mar 2015 09:28:09 +0800
Received: from louyingPC (10.2.20.19) by sbjcas01.oa.wanmei.com (10.255.254.32) with Microsoft SMTP Server id 8.2.176.0; Fri, 20 Mar 2015 09:28:10 +0800
Delivered-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
Subject: 答复: [rt.cpan.org #102885] uniq function bug
Return-Path: <louying [...] pwrd.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
X-RT-Mail-Extension: list-moreutils
Thread-Index: AQGo5s96pnP+h973te4y4BBDyhFzCQIR3LyxAo4YOvCdTozmIA==
Date: Fri, 20 Mar 2015 09:28:17 +0800
X-Spam-Level:
To: <bug-List-MoreUtils [...] rt.cpan.org>
Content-Transfer-Encoding: quoted-printable
From: 楼颖 <louying [...] pwrd.com>
RT-Message-ID: <rt-4.0.18-13282-1426814903-659.102885-0-0 [...] rt.cpan.org>
Content-Length: 1472
Download (untitled) / with headers
text/plain 1.4k
My demo program: #!/usr/bin/perl -w use List::MoreUtils qw(uniq); use DDP; use Tie::File; my @array; tie @array, 'Tie::File', 'd:\\a.out'; @array = qw ( 1603601,20150319 1600581,20150319 0300247,20150319 0300092,20150319 0002694,20150319 0002663,20150319 0002325,20150319 0002093,20150319 ); p @array; @array = uniq @array; p @array; -----邮件原件----- 发件人: Jens Rehsack via RT [mailto:bug-List-MoreUtils@rt.cpan.org] 发送时间: 2015年3月19日 19:38 收件人: 楼颖 主题: [rt.cpan.org #102885] uniq function bug <URL: https://rt.cpan.org/Ticket/Display.html?id=102885 > perl -MData::Dumper -MList::MoreUtils=uniq -e 'my @a = qw(1603601,20150319 1600581,20150319 0300247,20150319 0300092,20150319 0002694,20150319 0002663,20150319 0002325,20150319 0002093,20150319); print Dumper \@a; print Dumper [uniq @a]' $VAR1 = [ '1603601,20150319', '1600581,20150319', '0300247,20150319', '0300092,20150319', '0002694,20150319', '0002663,20150319', '0002325,20150319', '0002093,20150319' ]; $VAR1 = [ '1603601,20150319', '1600581,20150319', '0300247,20150319', '0300092,20150319', '0002694,20150319', '0002663,20150319', '0002325,20150319', '0002093,20150319' ]; I don't see any problem
MIME-Version: 1.0
In-Reply-To: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-27085-1426835189-1689.102885-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 307
Download (untitled) / with headers
text/plain 307b
Just for my knowledge - are you able to test from git repository (read: can I ask you for re-test before releasing)? The test case is good (uniq+Tie::Array behaves different ... as headline) - it's reproducible and easy to make a test in test suite from it. But just to be sure nothing hidden is included.
MIME-Version: 1.0
X-Spam-Status: No, score=-5.41 tagged_above=-99.9 required=10 tests=[AWL=0.500, BAYES_00=-1.9, FROM_OUR_RT=-4, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
In-Reply-To: <rt-4.0.18-27085-1426835189-1791.102885-6-0 [...] rt.cpan.org>
X-Mailer: Microsoft Outlook 14.0
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-102885 [...] rt.cpan.org> <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com> <rt-4.0.18-27085-1426835189-1791.102885-6-0 [...] rt.cpan.org>
Content-Language: zh-cn
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <001101d062de$4a22c9c0$de685d40$ [...] pwrd.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.41
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 1E51B24034F for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Fri, 20 Mar 2015 03:20:12 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nAA+nI-tXjES for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Fri, 20 Mar 2015 03:20:10 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id E6207240203 for <bug-List-MoreUtils [...] rt.cpan.org>; Fri, 20 Mar 2015 03:20:09 -0400 (EDT)
Received: (qmail 9100 invoked by alias); 20 Mar 2015 07:20:08 -0000
Received: from pwrd.com (HELO sbjmeg01.oa.wanmei.com) (124.193.167.254) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 20 Mar 2015 00:20:06 -0700
Received: from sbjcas01.oa.wanmei.com (10.255.254.12) by sbjmeg01.oa.wanmei.com (10.255.254.16) with Microsoft SMTP Server (TLS) id 8.2.176.0; Fri, 20 Mar 2015 15:19:57 +0800
Received: from louyingPC (10.2.20.19) by sbjcas01.oa.wanmei.com (10.255.254.32) with Microsoft SMTP Server id 8.2.176.0; Fri, 20 Mar 2015 15:19:59 +0800
Delivered-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
Subject: 答复: [rt.cpan.org #102885] uniq function bug
Return-Path: <louying [...] pwrd.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
X-RT-Mail-Extension: list-moreutils
Thread-Index: AQGo5s96pnP+h973te4y4BBDyhFzCQIR3LyxApobh+KdTo6LEA==
Date: Fri, 20 Mar 2015 15:20:05 +0800
X-Spam-Level:
To: <bug-List-MoreUtils [...] rt.cpan.org>
Content-Transfer-Encoding: quoted-printable
From: 楼颖 <louying [...] pwrd.com>
RT-Message-ID: <rt-4.0.18-32479-1426836013-684.102885-0-0 [...] rt.cpan.org>
Content-Length: 751
Download (untitled) / with headers
text/plain 751b
Dearl Jens Rehsack: I don’t' know what is your mean? It's not a bug? But it generate a unexpected result with uniq+Tie::Array. Or you tell what should I do next? Regards Jacky -----邮件原件----- 发件人: Jens Rehsack via RT [mailto:bug-List-MoreUtils@rt.cpan.org] 发送时间: 2015年3月20日 15:07 收件人: 楼颖 主题: [rt.cpan.org #102885] uniq function bug <URL: https://rt.cpan.org/Ticket/Display.html?id=102885 > Just for my knowledge - are you able to test from git repository (read: can I ask you for re-test before releasing)? The test case is good (uniq+Tie::Array behaves different ... as headline) - it's reproducible and easy to make a test in test suite from it. But just to be sure nothing hidden is included.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-32479-1426836013-684.102885-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-102885 [...] rt.cpan.org> <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com> <rt-4.0.18-27085-1426835189-1791.102885-6-0 [...] rt.cpan.org> <001101d062de$4a22c9c0$de685d40$ [...] pwrd.com> <rt-4.0.18-32479-1426836013-684.102885-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-26782-1426836616-1727.102885-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1336
Download (untitled) / with headers
text/plain 1.3k
On Fri Mar 20 03:20:13 2015, louying@pwrd.com wrote: Show quoted text
> Dearl Jens Rehsack:
Hi, Show quoted text
> I don’t' know what is your mean? It's not a bug? But it generate a > unexpected result with uniq+Tie::Array.
I'd like to call it "uniq+Tie::Array behaves different" - as the name for the bug (because uniq is broken is kind-of indifferent ^^) Show quoted text
> Or you tell what should I do next?
Can you "git clone https://github.com/perl5-utils/List-MoreUtils.git" and run tests with that and your application (eg. starting your application with perl -Mblib=/path/to/LMU-repo yourapp.pl No worries when not - I could also send you a distfile just for you for testing only, if you want. When you're sure it's the only bug, this is not necessary. Show quoted text
> Regards > Jacky > > -----邮件原件----- > 发件人: Jens Rehsack via RT [mailto:bug-List-MoreUtils@rt.cpan.org] > 发送时间: 2015年3月20日 15:07 > 收件人: 楼颖 > 主题: [rt.cpan.org #102885] uniq function bug > > <URL: https://rt.cpan.org/Ticket/Display.html?id=102885 > > > Just for my knowledge - are you able to test from git repository > (read: can I ask you for re-test before releasing)? > > The test case is good (uniq+Tie::Array behaves different ... as > headline) - it's reproducible and easy to make a test in test suite > from it. But just to be sure nothing hidden is included.
MIME-Version: 1.0
In-Reply-To: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-5268-1426850175-1255.102885-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 33
Provide a fix with commit cab00af
MIME-Version: 1.0
In-Reply-To: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-23952-1426956642-42.102885-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 29
Shipped 0.409_001 for testing
MIME-Version: 1.0
X-Spam-Status: No, score=-5.51 tagged_above=-99.9 required=10 tests=[AWL=0.400, BAYES_00=-1.9, FROM_OUR_RT=-4, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
In-Reply-To: <rt-4.0.18-23952-1426956642-1312.102885-6-0 [...] rt.cpan.org>
X-Mailer: Microsoft Outlook 14.0
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-102885 [...] rt.cpan.org> <003b01d06231$1e60bc00$5b223400$ [...] pwrd.com> <rt-4.0.18-23952-1426956642-1312.102885-6-0 [...] rt.cpan.org>
Content-Language: zh-cn
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <001d01d0650b$8b50fa50$a1f2eef0$ [...] pwrd.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.51
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2287C2400DA for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Sun, 22 Mar 2015 21:49:19 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YlsnDMm8OWEB for <cpan-bug+List-MoreUtils [...] hipster.bestpractical.com>; Sun, 22 Mar 2015 21:49:16 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 2E1A624002B for <bug-List-MoreUtils [...] rt.cpan.org>; Sun, 22 Mar 2015 21:49:15 -0400 (EDT)
Received: (qmail 28386 invoked by alias); 23 Mar 2015 01:49:15 -0000
Received: from pwrd.com (HELO sbjmeg01.oa.wanmei.com) (124.193.167.254) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sun, 22 Mar 2015 18:49:12 -0700
Received: from sbjcas01.oa.wanmei.com (10.255.254.12) by sbjmeg01.oa.wanmei.com (10.255.254.16) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 23 Mar 2015 09:49:01 +0800
Received: from louyingPC (10.2.20.19) by sbjcas01.oa.wanmei.com (10.255.254.32) with Microsoft SMTP Server id 8.2.176.0; Mon, 23 Mar 2015 09:49:04 +0800
Delivered-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
Subject: 答复: [rt.cpan.org #102885] uniq function bug - Tie::Array broken
Return-Path: <louying [...] pwrd.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+List-MoreUtils [...] hipster.bestpractical.com
X-RT-Mail-Extension: list-moreutils
Thread-Index: AQGo5s96pnP+h973te4y4BBDyhFzCQIR3LyxAY87DPOdW0BqcA==
Date: Mon, 23 Mar 2015 09:49:04 +0800
X-Spam-Level:
To: <bug-List-MoreUtils [...] rt.cpan.org>
Content-Transfer-Encoding: quoted-printable
From: 楼颖 <louying [...] pwrd.com>
RT-Message-ID: <rt-4.0.18-19135-1427075360-1912.102885-0-0 [...] rt.cpan.org>
Content-Length: 393
Download (untitled) / with headers
text/plain 393b
I have downloaded and tested it(0.409_001) It seems that the problem is resolved. -----邮件原件----- 发件人: Jens Rehsack via RT [mailto:bug-List-MoreUtils@rt.cpan.org] 发送时间: 2015年3月22日 0:51 收件人: 楼颖 主题: [rt.cpan.org #102885] uniq function bug - Tie::Array broken <URL: https://rt.cpan.org/Ticket/Display.html?id=102885 > Shipped 0.409_001 for testing


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.