go ahead... be a heretic | |
PerlMonks |
loop in loop method evasionby motzi (Sexton) |
on Dec 26, 2009 at 04:12 UTC ( [id://814392]=perlquestion: print w/replies, xml ) | Need Help?? |
motzi has asked for the wisdom of the Perl Monks concerning the following question:
I need to generate strings consequentially, i do this with that code (length is 3):
Here, depending on the length i remove or add more foreach loop. Well, i need for example a 15-length string generation, need to make 15 loops, its a bit hard work. Is there any way to make this method more compact? Thanks.
Back to
Seekers of Perl Wisdom
|
|