in reply to compare two strings and return only he unique values.
You can also use List::Compare
my ($str1, $str2) = ("ABCDE", "BCDEO");
my @list1 = split //, $str1;
my @list2 = split //, $str2;
my @unique = List::Compare->new(\@list1, \@list2)
say "Unique letters: @unique";
An electronic device
Being the designated driver
Spending time with a celebrity
I never won anything
I never play the lottery
I haven't checked my spam folder recently
Results (415 votes). Check out past polls.