Support I have two arrays, and each of them doesn't have repeat elements. And compare the first array to the second one, if element repeats in 2nd array, the element has to be removed from the 1st one. i.e.
###################################################
@arry1 = ("1", "2", "3");
@arry2 = ("9", "10", "1");
###################################################
So, "1" is the common element for both arrays, but I only need to remove it from the 1st array.
Does anyone have any idea to handle this?
Thanks,
Lucas
###################################################
@arry1 = ("1", "2", "3");
@arry2 = ("9", "10", "1");
###################################################
So, "1" is the common element for both arrays, but I only need to remove it from the 1st array.
Does anyone have any idea to handle this?
Thanks,
Lucas