Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Quicker way to compare these 2 strings?

by TimToady (Parson)
on May 19, 2010 at 00:57 UTC ( [id://840593]=note: print w/replies, xml ) Need Help??


in reply to Quicker way to compare these 2 strings?

$matches = ($first ^ $second) =~ tr/\0//;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-19 20:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found