|
|
| P is for Practical | |
| PerlMonks |
Re^3: How to create loop in perl dynamicallyby djerius (Acolyte) |
| on Sep 26, 2012 at 16:49 UTC ( #995821=note: print w/ replies, xml ) | Need Help?? |
|
Your problem requires the following
You haven't provided an example of the code which runs inside the innermost loop. It might be useful if you provided some idea of what you're trying to do inside of those loops. I'm assuming that your code only needs to know the loop indices. Here's how you can use Math::Cartesian::Product: And here are the results:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||