Hi Dear all,
I have two strings like below:
@a = qw('a', 'b', 'c'}
@b = qw('a', 'a', 'b', 'c', 'd', 'd')
for @b, 'a' and 'd' are both duplicated. I want compare if all the elements in @a are all belong to @b, also return the element in @b which not show in @a. for example, to compare these two array, i want to get a value like this:
@c = ('d').
Please help! Thanks a lot.
Coeus