Thanks for pointing to the bug, that's indeed an ugly case ...
> however, https://perldoc.perl.org/5.34.1/List::Util has "Since version 1.29." for both pairgrep and pairmap.
That's the modules version, 5.20.0 comes bundled with 1.38 (look at upper right corner)
> I now note that https://perldoc.perl.org/5.34.1/List::Util#KNOWN-BUGS lists "RT #95409" while https://perldoc.perl.org/5.20.0/List::Util#KNOWN-BUGS does not.
5.34.1 comes bundled with v1.55 of List::Util ... I assume the bug was discovered and included later.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: How to grep for values & see the keys?
by LanX
in thread How to grep for values & see the keys?
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |