Skip Menu |

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

Report information
The Basics
Id: 118334
Status: new
Priority: 0/
Queue: Scalar-List-Utils

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

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



Subject: Bump SvREFCNT around the MULTICALL block of pairmap, pairgrep, ...
Otherwise 5.18 does Odd Things by swiping the PV out of TEMP+REFCNT==1 SVs. -- Paul Evans
leo@cel:~ $ perl5.18.2 -Mwarnings -MList::Util=pairmap -E 'sub X { return "A", "B" }; pairmap { say $a; my $c = $a; say $a } X()' A Use of uninitialized value $a in say at -e line 1. leo@cel:~ $ perl5.20.3 -Mwarnings -MList::Util=pairmap -E 'sub X { return "A", "B" }; pairmap { say $a; my $c = $a; say $a } X()' A A -- Paul Evans