Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How to test for sameness on a string of numbers

by rjt (Deacon)
on Mar 21, 2013 at 07:37 UTC ( #1024675=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    use 5.014;
    ...
    
        return str;
    }
    
  2. or download this
       hash_pack(512567000151256700025125670003) => 5125670001512567000251
    +25670003
         hash_re(512567000151256700025125670003) => 5125670001512567000251
    +25670003
     hash_substr(512567000151256700025125670003) => 5125670001512567000251
    +25670003
    ...
    hash_pack     646938/s         97%        53%         --         -33% 
    +      -86%
    hash_substr2  965459/s        194%       129%        49%           -- 
    +      -79%
    hash_c       4606276/s       1303%       992%       612%         377% 
    +        --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-07-30 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls