pkgsrc/devel/p5-List-Pairwise/DESCR
wiz ad4dbff5af Import p5-List-Pairwise-1.03 as devel/p5-List-Pairwise,
packaged for wip by mef.

List::Pairwise provides functions to map and grep lists two
elements at a time, setting $a and $b to each pair instead of
setting $_ to each element.

As of version 1.01, List::Pairwise now tries to use the newly
implemented XS functions pairmap, pairgrep, pairfirst and
pairs from List::Util 1.31 and up, resulting in a major
speedup.

New code should now preferably use List::Util functions
directly, with the added benefit of relying on a Perl core
module.
2015-02-07 09:11:36 +00:00

12 lines
460 B
Text

List::Pairwise provides functions to map and grep lists two
elements at a time, setting $a and $b to each pair instead of
setting $_ to each element.
As of version 1.01, List::Pairwise now tries to use the newly
implemented XS functions pairmap, pairgrep, pairfirst and
pairs from List::Util 1.31 and up, resulting in a major
speedup.
New code should now preferably use List::Util functions
directly, with the added benefit of relying on a Perl core
module.