CrackBaby has asked for the wisdom of the Perl Monks concerning the following question:
I need to know which arrays exist 2 or more times - in this example I need to know that array1, array3 and array6 match - and also array2 and array4 match. Thank you for your help.my %hoa = ( array1 => [ 1,2,3 ], array2 => [ 7,8,9 ], array3 => [ 1,2,3 ], array4 => [ 7,8,9 ], array5 => [ 9,9,9 ], array6 => [ 1,2,3 ], );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Find matching arrays in hash of arrays
by moritz (Cardinal) on Nov 04, 2008 at 17:30 UTC | |
by CrackBaby (Initiate) on Nov 04, 2008 at 20:09 UTC | |
|
Re: Find matching arrays in hash of arrays
by GrandFather (Saint) on Nov 04, 2008 at 19:52 UTC |