Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: How to grep for values & see the keys?by kcott (Archbishop) |
on May 14, 2022 at 02:25 UTC ( [id://11143890]=note: print w/replies, xml ) | Need Help?? |
G'day Rolf, "°) came into core with 5.20.0 i.e. since May 27, 2014. So only new for oldies like me ;-)" Just noting that https://perldoc.perl.org/5.20.0/List::Util confirms this; however, https://perldoc.perl.org/5.34.1/List::Util has "Since version 1.29." for both pairgrep and pairmap. I recalled doing some limited investigation into this last month: "Re: Dancer app works until I run it with Plack::Handler::Apache2" (see the last two dot points under "Other suggestions:"). 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. There are quite a few other functions with "Since version 1.xx." — probably worth checking when List::Util is used; especially if bugs are detected or unexpected behaviours are encountered. — Ken
In Section
Seekers of Perl Wisdom
|
|