The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Array::AllUtils - Like List::Util & List::MoreUtils but for array(ref)

VERSION

This document describes version 0.002 of Array::AllUtils (from Perl distribution Array-AllUtils), released on 2016-04-13.

SYNOPSIS

 use Array::AllUtils qw(first);

 my @ary = (1..20);

 $elem = first { defined and $_ % 2 } $ary;

DESCRIPTION

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.

FUNCTIONS

first

firstidx

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Array-AllUtils.

SOURCE

Source repository is at https://github.com/perlancar/perl-Array-AllUtils.

BUGS

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.

SEE ALSO

List::Util, List::MoreUtils, List::AllUtils

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

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.