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
In reply to Re^3: Difference Quantity of two Arrays
by throop
in thread Difference Quantity of two Arrays
by ocs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |