good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Re: Combinations / permutations... not even sure what this is called
It's called cross-product. You can use the glob-hack like Marshall did, as long as you have no problem with stringification. Otherwise I have code mimicking Perl6's X-operator, if your interested I can post it on Monday.
Cheers Rolf PS: > This isn't a homework question. I doubt this, only complete beginners don't know nested loops. In reply to Re: Combinations / permutations... not even sure what this is called (Cross-Product)
by LanX
|
|