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