Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: compare two strings and return only he unique values.

by Kenosis (Priest)
on Feb 03, 2013 at 21:42 UTC ( #1016865=note: print w/ replies, xml ) Need Help??


in reply to Re: compare two strings and return only he unique values.
in thread compare two strings and return only he unique values.

Excellent points++! It's evident, however, that the OP's considering the possibility of characters repeating in strings, as shown in the initial posting:

my ($str1, $str2) = ("ABCDE", "BBBBB");


Comment on Re^2: compare two strings and return only he unique values.
Download Code
Re^3: compare two strings and return only he unique values.
by Not_a_Number (Parson) on Feb 03, 2013 at 22:36 UTC
    *** Please delete. Misplaced dupe. ***

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016865]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2015-07-07 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls