buggy
09-27-2004, 04:16 AM
I have an unsorted array @elements, many of which are duplicates and I wish to print a list of unique elements (no duplicates). How could I go about doing this. I have takes scripts off the web but none of them work correctly.
Also the array will contain elements with errors, and I have been told that there may be a function in perl that removes elements that partially match.
eg DOE
Doeb
and DOE is only returned.
Also the array will contain elements with errors, and I have been told that there may be a function in perl that removes elements that partially match.
eg DOE
Doeb
and DOE is only returned.