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.
==
eq
To install Object::Array, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Object::Array
CPAN shell
perl -MCPAN -e shell install Object::Array
For more information on module installation, please visit the detailed CPAN module installation guide.