For each reference, create a signature string. Two references you consider different must have different signatures. Two references you consider identical must have identical signatures. Use a hash keyed by these signatures to identify duplicates.
my %seen; @AoD = grep !$seen{ join(',', @$_) }++, @AoD;
In reply to Re: Eliminate Array of array duplication
by ikegami
in thread Eliminate Array of array duplication
by Kandankarunai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |