From the results at your link, 5.20 was the first version where List::Util contained any. It worked as expected in that version.
It broke in 5.22, with the spurious error message
In reply to Re^2: Where does the spurious error message come from?
by sn1987a
in thread Where does the spurious error message come from?
by kikuchiyo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |