Provide the missing functionality from List::Util (see "SUGGESTED ADDITIONS" in its manpage).