![]() |
|
"be consistent" | |
PerlMonks |
Factorial Matrixby isutommyt (Initiate) |
on Jan 29, 2008 at 19:21 UTC ( [id://664963]=perlquestion: print w/replies, xml ) | Need Help?? |
isutommyt has asked for the wisdom of the Perl Monks concerning the following question:
I'm not sure why I can't think today, but here is my problem. I have a file that may look like this: A,B 1,2 C,D,E I need an output file that creates all possible permutations from that file: A,1,C A,1,D A,1,E A,2,C A,2,D ... B,2,E (12 total possibilities) Of course the original file can have a variable amount of "rows" and "columns". Help me monks! Thanks!
Back to
Seekers of Perl Wisdom
|
|