in reply to Remove Duplicates from an Array of Arrays

When removing duplicates, the standard way is to use a hash. The key of the hash is what has to be unique. A little manipulation shoudl get you what you need.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested

  • Comment on Re: Remove Duplicates from an Array of Arrays