in reply to On the rejected additions to List::Util
Specifically in List::MoreUtils it takes a block, and evaluates that for every list item, and returns true if the block returned true once. The one described in List::Util just gives true when any of the list items is true, so
List::MoreUtils::any is roughly like List::Util::proposed_any map BLOCK LIST
except that it's optimized.
That's not as trivial (ok, it's only slightly more complicated) as Graham puts it, which is why I never understood his point.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: On the rejected additions to List::Util
by Prof Vince (Friar) on May 08, 2009 at 07:44 UTC |