in reply to create a array which is XOR of two arrays
@final = do {my %t; @t{@array2} = (); delete @t{@array1}; keys %t;}; [download]