in reply to how do I find one number that matches in elements of same array and combine those elements?

Nodes are written in html. Please use <br> tags to put some line breaks in so it's easier to read.

As to your problem (which I'm not completely sure I understand, but I think I have some idea what you're asking), if you want to combine multiple lists, remove duplicates, and sort the result, you're looking for a hash. If you make a hash key from each list element, the duplicates will automagically resolve themselves, and then you can
sort keys %whatever_you_name_your_hash
to get the sorted result back as a list. Edit: fixed and noted.
  • Comment on Re: how do I find one number that matches in elements of same array and combine those elements?
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: how do I find one number that matches in elements of same array and combine those elements?
by Mr. Muskrat (Canon) on Jul 31, 2009 at 15:15 UTC