in reply to Combinatorial problem
When wanting to nest for loops arbitrary levels deep, I use Algorithm::Loops::NestedLoops().
- tye