Tue Oct 11 13:06:04 2016leonerd-cpan [...] leonerd.org.uk - Ticket created
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
Tue Oct 11 13:09:00 2016leonerd-cpan [...] leonerd.org.uk - Correspondence added
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