Algorithm::Loops will now find my latest module. It includes a few looping constructs that I've posted to PerlMonks over the years (from the README.txt):
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.
I'm posting this announcement because several people have asked for one or more of these routines to be made available in a module on CPAN, but even more so to make it easy for people to give me feedback on aspects of the module.
In particular, I'm interested in whether the documentation is clear. But any suggestions are welcome.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Algorithm::Loops released (docs)
by tye (Sage) on Sep 29, 2003 at 04:35 UTC | |
|
Re: Algorithm::Loops released (tests)
by tye (Sage) on Sep 29, 2003 at 04:47 UTC | |
|
Re: Algorithm::Loops released
by belg4mit (Prior) on Sep 29, 2003 at 17:37 UTC | |
|
Re: Algorithm::Loops released (code)
by tye (Sage) on Sep 29, 2003 at 04:53 UTC | |
|
Re: Algorithm::Loops released
by graff (Chancellor) on Sep 30, 2003 at 06:26 UTC | |
|
Re: Algorithm::Loops released
by artist (Parson) on Sep 29, 2003 at 15:10 UTC |