Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2017-09-19 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (220 votes). Check out past polls.

    Notices?