Source
Object::Array::Plugin::ListMoreUtils
Add methods to Object::Array corresponding to functions from List::MoreUtils.
See List::MoreUtils for details of these methods (functions).
if ($arr->contains(1)) { ... }
Convenient wrapper around firstidx. Uses == to compare references and numbers, eq for everything else.
syntax highlighting: