You have to first make sure the array is sorted...
No you don't. This method works just fine on an unsorted array.
--Perl Training in the UK <http://www.iterative-software.com>
In reply to Re: Re: Removing Duplicates in an array?
by davorg
in thread Removing Duplicates in an array?
by pharaoh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |