Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: karl.forner [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.21
  • 0.22
Fixed in: 0.408



Subject: bug in pairwise when $a and $b are lexically defined using my
use List::MoreUtils qw(pairwise); my ($a, $b); my @l1 = (1..10); my @t = pairwise { $a + $b } @l1, @l1; The @t is filled with zeroes. If you comment the second line it works fine. List-MoreUtils-0.22 perl 5.8.8 for i486-linux-gnu-thread-multi Linux 2.6.24-19-generic
This is resolved in 0.23 which I just uploaded to the CPAN.
On Sun Jul 12 14:45:38 2009, VPARSEVAL wrote: Show quoted text
> This is resolved in 0.23 which I just uploaded to the CPAN.
Note that the 0.23 code line is no longer in the latest release, 0.26. Consequently this and a number of other tickets in this queue are no longer resolved.
Patch ported to modern perl and pushed with 0515b563. Please give it a shot.
While initially shipped with 0.407 a follow-up issue is fixed in 0.408