NAME
PERLANCAR::List::Util::PP - Pure-perl implementation of List::Util
VERSION
This document describes version 0.04 of PERLANCAR::List::Util::PP (from Perl distribution PERLANCAR-List-Util-PP), released on 2015-12-18.
SYNOPSIS
Use as you would use List::Util:
use PERLANCAR::List::Util::PP qw(max min maxstr minstr);
my $max = max @list;
my $min = min @list;
DESCRIPTION
Most of the time you will not need this module. Use List::Util instead. This module is useful for testing/benchmarking, or perhaps in the rare case where you cannot use any XS module (even core ones) or in the rare case where you cannot use any module, in which case you can copy-and-paste the routines from this module (or, if you use Dist::Zilla, you can also use Dist::Zilla::Plugin::InsertBlock).
Most of the code is from the old List::Util::PP code [2], which was dropped from the Scalar-List-Utils distribution and was no longer part of core perl.
FUNCTIONS
For more details on each function, see List::Util.
all
any
first
max
maxstr
min
minstr
none
notall
pairfirst
pairgrep
pairkeys
pairmap
pairs
pairvalues
product
reduce
shuffle
sum
sum0
unpairs
SEE ALSO
[1] List::Util
[2] https://github.com/haarg/List-Util/blob/pp/lib/List/Util/PP.pm
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/PERLANCAR-List-Util-PP.
SOURCE
Source repository is at https://github.com/perlancar/perl-PERLANCAR-List-Util-PP.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=PERLANCAR-List-Util-PP
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.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 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.