The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

List::Util::PP - Pure-perl implementations of List::Util subroutines

SYNOPSIS

use List::Util::PP qw(
  reduce any all none notall first reductions

  max maxstr min minstr product sum sum0

  pairs unpairs pairkeys pairvalues pairfirst pairgrep pairmap

  shuffle uniq uniqint uniqnum uniqstr zip mesh
);

DESCRIPTION

List::Util::PP contains pure-perl implementations of all of the functions documented in List::Util. This is meant for when a compiler is not available, or when packaging for reuse without without installing modules.

Generally, List::Util::MaybeXS should be used instead, which will automatically use the faster XS implementation when possible, but fall back on this module otherwise.

FUNCTIONS

all
any
first
min
max
minstr
maxstr
none
notall
product
reduce
reductions
sum
sum0
shuffle
sample
uniq
uniqnum
uniqint
uniqstr
pairs
unpairs
pairkeys
pairvalues
pairmap
pairgrep
pairfirst
tail
zip
zip_longest
zip_shortest
mesh
mesh_longest
mesh_shortest

CONFIGURATION VARIABLES

$RAND

The variables $List::Util::RAND, $List::Util::PP::RAND, and $List::Util::MaybeXS::RAND are all aliased to each other. Any of them will impact both List::Util::PP and List::Util functions.

SUPPORT

See List::Util::MaybeXS for support and contact information.

AUTHORS

See List::Util::MaybeXS for authors.

COPYRIGHT AND LICENSE

See List::Util::MaybeXS for the copyright and license.