Skip Menu |

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

Report information
The Basics
Id: 58389
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: List-Uniq

People
Owner: JFITZ [...] cpan.org
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: flatten of empty arrayref
Date: Tue, 15 Jun 2010 09:19:30 +1000
To: bug-List-Uniq [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
With recent debian i386 perl 5.10.1 and List::Uniq 0.12 if an empty arrayref is followed by another arrayref then the latter is not flattened. For example use strict; use warnings; use List::Uniq 'uniq'; print uniq('foo', 'bar', [], ['foo'], 'quux'); prints foobarARRAY(0x958e6f8)quux where from reading the docs I expected "foobarquux".
Fixed in 0.13, which has been uploaded to PAUSE and is attached here if anyone wants it sooner. Cheers
Subject: List-Uniq-0.13.tar.gz
Download List-Uniq-0.13.tar.gz
application/gzip 5.2k

Message body not shown because it is not plain text.