Array::AllUtils - Like List::Util & List::MoreUtils but for array(ref)
This document describes version 0.002 of Array::AllUtils (from Perl distribution Array-AllUtils), released on 2016-04-13.
use Array::AllUtils qw(first); my @ary = (1..20); $elem = first { defined and $_ % 2 } $ary;
PURELY EXPERIMENTAL AND CURRENTLY INCOMPLETE.
This module provides functions like those provided by List::Util and List::MoreUtils but the list is passed as arrayref, to avoid the cost of argument copying which can be significant when the size of the list is large. See an illustration in Bencher::Scenario::PERLANCAR::In.
Please visit the project's homepage at https://metacpan.org/release/Array-AllUtils.
Source repository is at https://github.com/perlancar/perl-Array-AllUtils.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Array-AllUtils
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
List::Util, List::MoreUtils, List::AllUtils
perlancar <perlancar@cpan.org>
This software is copyright (c) 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Array::AllUtils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Array::AllUtils
CPAN shell
perl -MCPAN -e shell install Array::AllUtils
For more information on module installation, please visit the detailed CPAN module installation guide.