I need to compare two arrays. @array1 has a list of elements I already have. @array2 has another long list of elements. i need to make @array3 that has both the elements of @array1 and @array2. I am using a push statements, but there are some similar elements in both @array1 & @array2 so they appear twice in @array3. How can I get make them appear only once?
Please help?