Hi Guys

I need to extract items that happened once from an array. Here is an example

@my_array=qw (one, one, two, three, three, four);

The expected result: @new_array=("two", "four").

Could you give me some suggestion? The hash could remove duplicates, and
return ("one", "two", "three", "four"), which is not I want. I just want
the items that don't have any duplicates.

Thanks

Jun
-- 
Jun Meng
257# marine science building
Department of Marine Science
University of Georgia
Cell Phone:1-706-248-2871
Office:1-706-542-1122

Reply via email to