Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 surveying the Monastery: (3)
As of 2014-09-21 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (168 votes), past polls