more useful options | |
PerlMonks |
Re: Fast Way to Return Unique Array of Arrayby Zaxo (Archbishop) |
on Sep 05, 2005 at 03:32 UTC ( [id://489131]=note: print w/replies, xml ) | Need Help?? |
The array references in @AoA are to four distinct locations, so they are all unique, even though their contents may be equal. We've shown you a bunch of ways to get uniqueness, mostly having to do with hash keys. You can form a suitable key from one of these array references with join ',', @{$AoA[$idx]}. After Compline,
In Section
Seekers of Perl Wisdom
|
|