Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Find common prefix from a list of strings (tye)

by sauoq (Abbot)
on Jul 14, 2003 at 20:41 UTC ( #274153=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            $len= length( ( $dif =~ /^(\0+)/ )[0] );
    
  2. or download this
            $len= length( ( $dif =~ /^(\0+)/ )[0] || '' );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2020-02-28 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (123 votes). Check out past polls.

    Notices?