Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: An efficient way to gather a common portion of several strings' beginnings

by AnomalousMonk (Archbishop)
on Nov 15, 2015 at 18:26 UTC ( [id://1147739]=note: print w/replies, xml ) Need Help??


in reply to Re: An efficient way to gather a common portion of several strings' beginnings
in thread An efficient way to gather a common portion of several strings' beginnings

($common ^ $str) =~ m/^\0+/;

Please see reply above regarding  m/^\0+/ versus  m/^\0*/ match.


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found