cs08 has asked for the wisdom of the Perl Monks concerning the following question:
The output should be likeFile1 (A B C D ) File2 (P Q R) File3 (1 2 3 4 5)
I have tried to generate this using an arrays, but my logic is not taking care of all combinations. Thanks in advance!A,P,1 A,P,2 A,P,3 A,P,4 A,P,5 A,Q,1 A,Q,2 A,Q,3 A,Q,4 A,Q,5 A,R,1 A,R,2 A,R,3 A,R,4 A,R,5 B,P,1 B,P,2 B,P,3 B,P,4 B,P,5
20080729 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Generate Matrix in perl
by almut (Canon) on Jul 28, 2008 at 16:11 UTC | |
by linuxer (Curate) on Jul 28, 2008 at 20:36 UTC | |
|
Re: Generate Matrix in perl
by moritz (Cardinal) on Jul 28, 2008 at 15:57 UTC | |
|
Re: Generate Matrix in perl
by olus (Curate) on Jul 28, 2008 at 15:53 UTC | |
|
Re: Generate Matrix in perl
by pjotrik (Friar) on Jul 28, 2008 at 16:18 UTC | |
by cs08 (Initiate) on Jul 29, 2008 at 14:16 UTC |