I know this has been asked before, but I can't seem to find it.
Is there a simple way to remove duplicates from an array.
Currently I sort the array, and then iterate through the sorted array,
and push elements into a new array when its different than the previous
one. I have read somewhere of a oneliner (I think at perlmonks), but I
can't find it.

Thanks
Marius

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to