Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: If there a way to find the location of the first difference between two strings?

by trizen (Hermit)
on Mar 26, 2012 at 17:50 UTC ( #961720=note: print w/replies, xml ) Need Help??


in reply to Re: If there a way to find the location of the first difference between two strings?
in thread If there a way to find the location of the first difference between two strings?

Small fix:
$t =~ /[^\0]/ && say $-[0];
  • Comment on Re^2: If there a way to find the location of the first difference between two strings?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://961720]
help
Chatterbox?
[stonecolddevin]: jedikaiti o/

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-11-22 18:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (327 votes). Check out past polls.

    Notices?