PERLANCAR::List::Util::PP - Pure-perl implementation of List::Util
This document describes version 0.04 of PERLANCAR::List::Util::PP (from Perl distribution PERLANCAR-List-Util-PP), released on 2015-12-18.
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;
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.
For more details on each function, see List::Util.
[1] List::Util
[2] https://github.com/haarg/List-Util/blob/pp/lib/List/Util/PP.pm
Please visit the project's homepage at https://metacpan.org/release/PERLANCAR-List-Util-PP.
Source repository is at https://github.com/perlancar/perl-PERLANCAR-List-Util-PP.
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.
perlancar <perlancar@cpan.org>
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.
To install PERLANCAR::List::Util::PP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PERLANCAR::List::Util::PP
CPAN shell
perl -MCPAN -e shell install PERLANCAR::List::Util::PP
For more information on module installation, please visit the detailed CPAN module installation guide.