File: README.txt

package info (click to toggle)
libalgorithm-loops-perl 1.032-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 208 kB
  • sloc: perl: 455; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Algorithm::Loops - Looping constructs:
    NestedLoops, MapCar*, Filter, and NextPermute*

Algorithm::Loops provides several functions for doing different types of
looping constructs:

Filter

    Similar to C<map> but designed for use with s/// and other reflexive
    operations.  Returns a modified copy of a list.

MapCar, MapCarU, MapCarE, and MapCarMin

    All similar to C<map> but loop over multiple lists at the same time.

NextPermute and NextPermuteNum

    Efficiently find all (unique) permutations of a list, even if it
    contains duplicate values.

NestedLoops

    Simulate C<foreach> loops nested arbitrarily deep.