in reply to Methodically search an arbitrary space?
Looks like Loop Abstraction via Recursion may be what you're looking for.
Note that you can't use a hash because, by its nature, it's unordered. If you had, however, a list of arrays you wanted to loop through, such as:
Then you could use the solutions in the above meditation, especially the one talking about Algorithm::Loops.my @params = ( [1..10], [-5..5], [0..15], [0,1], [1..10], );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Methodically search an arbitrary space?
by GuidoFubini (Acolyte) on May 05, 2006 at 17:09 UTC |