abd has asked for the wisdom of the Perl Monks concerning the following question:
How can I compare three lists in order to aling their values. For example, if I have the following lists:
List1 List2 List3
a a b
b b c
c d d
How can I get the following output:
List1 List2 List3
a a -
b b b
c - c
- d d
It's very important for me to keep the original order.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Comparing and Aligning arrays
by kcott (Archbishop) on Apr 04, 2014 at 07:25 UTC | |
by AnomalousMonk (Archbishop) on Apr 04, 2014 at 19:55 UTC | |
by kcott (Archbishop) on Apr 04, 2014 at 22:45 UTC | |
by abd (Initiate) on Apr 04, 2014 at 12:58 UTC | |
|
Re: Comparing and Aligning arrays (Diff)
by tye (Sage) on Apr 04, 2014 at 06:09 UTC | |
by abd (Initiate) on Apr 04, 2014 at 13:03 UTC | |
|
Re: Comparing and Aligning arrays
by ww (Archbishop) on Apr 04, 2014 at 00:40 UTC | |
|
Re: Comparing and Aligning arrays
by AnomalousMonk (Archbishop) on Apr 04, 2014 at 02:15 UTC | |
|
Re: Comparing and Aligning arrays
by LanX (Saint) on Apr 04, 2014 at 00:04 UTC | |
|
Re: Comparing and Aligning arrays
by abd (Initiate) on Apr 04, 2014 at 02:26 UTC | |
by AnomalousMonk (Archbishop) on Apr 04, 2014 at 02:44 UTC |