in reply to pulling duplicate data from a complex structure

Having to remove duplicates manually raises a red flag. In most cases this means that you should redesign the data structure to use a hash.

The classic duplicate elimination converts the array to hash to array.

  • Comment on Re: pulling duplicate data from a complex structure