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";
Went to join the gridlock to see it
Held an eclipse party
Watched a live feed
I cn"t see tge kwubosd to amswr thus
I tried to see it, but 8000 miles of rock got in the way
Wanted to see it, but they wouldn't reschedule it
Read the book instead
Results (230 votes). Check out past polls.