No such thing as a small change | |
PerlMonks |
Remove Duplicates Multidimensional Array?by johnfl68 (Scribe) |
on Apr 17, 2015 at 02:00 UTC ( [id://1123683]=perlquestion: print w/replies, xml ) | Need Help?? |
johnfl68 has asked for the wisdom of the Perl Monks concerning the following question: Hello, and again many thanks to the many helpful people here. Any suggestions on removing duplicates in a Multidimensional Array/Hash (sorry, I always get the array/hash thing confused, I think it's the dyslexia)? There are some entries that are "almost" identical, and I want to delete the duplicates
I kind of understand using unique, but for a single array. I'm not really sure where to begin with this. There are more than 3 entries, but this gives you an example. The first 2 entries are the same car, just 2 separate entries that made it in to the database, with slightly different information. I want to get rid of one of the entries. I'm just not sure where to start on this one, so any pointers in the right direction would be greatly appreciated. Thanks again!
Back to
Seekers of Perl Wisdom
|
|