Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I know this is really easy but its getting me confused.# e.g. @array1 = (1,2,3,4,5); @array2 = (6,7,8,9,10); @array3 = (11,12,13,14,15); #@array4 = (1,13, # where 1 & 13; 5 & 6; 15 & 4 are pairs 5,6, 15, 4); # i want to say that pair 1 & 13 are from array1 and array3
Hope you can help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: matching values in arrays
by ysth (Canon) on Dec 14, 2004 at 10:44 UTC | |
by Excalibor (Pilgrim) on Dec 14, 2004 at 11:25 UTC | |
by Animator (Hermit) on Dec 14, 2004 at 15:46 UTC | |
by Excalibor (Pilgrim) on Dec 14, 2004 at 17:29 UTC | |
by Animator (Hermit) on Dec 14, 2004 at 18:23 UTC | |
by Animator (Hermit) on Dec 14, 2004 at 18:50 UTC |