Don't ask to ask, just ask | |
PerlMonks |
Re: Efficient but elegant Cross-Product iterator ?by Corion (Patriarch) |
on Jun 20, 2020 at 19:50 UTC ( [id://11118283]=note: print w/replies, xml ) | Need Help?? |
I'm not sure from your description, but what you want sounds very much like Algorithm::Loops::NestedLoops, which takes subroutines to create loops and nests those to create the data structure (as another iterator).
In Section
Seekers of Perl Wisdom
|
|