Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Regex to compare (if) two strings (Uniquely - I will explain inside)

by aitap (Deacon)
on Nov 24, 2012 at 17:38 UTC ( #1005405=note: print w/ replies, xml ) Need Help??


in reply to Regex to compare (if) two strings (Uniquely - I will explain inside)

Use a hash. Create a hash containing all possible letters (something like my %letters = map { $_ => 1 } "a" .. "z";) and get letters in a loop, delete'ing each used letter from the hash.
Sorry if my advice was wrong.
  • Comment on Re: Regex to compare (if) two strings (Uniquely - I will explain inside)
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-07-24 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.