Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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");

Replies are listed 'Best First'.
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 a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-06-29 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (653 votes). Check out past polls.