Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2016-05-02 01:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?