in reply to Re: Difference Quantity of two Arrays
in thread Difference Quantity of two Arrays

This is a set operation (set difference), not a list operation.

  • Comment on Re^2: Difference Quantity of two Arrays

Replies are listed 'Best First'.
Re^3: Difference Quantity of two Arrays
by throop (Chaplain) on Jan 02, 2007 at 16:51 UTC
    This is a set operation (set difference), not a list operation.
    Sure it is a set operation. As is uniq, or even max. You could want to do the same operation to hashkeys, or to a CSV string. But the most common way that the set-difference problem shows up is as the set difference between two lists.

    If not List::MoreUtils, I'm still surprised it isn't in one of the common modules.

    throop