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

Re^5: how to count the number of repeats in a string (really!)

by oha (Friar)
on Nov 15, 2007 at 11:22 UTC ( #650947=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my $s = 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit,
    sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    blandit praesent luptatum zzril delenit augue duis dolore te feugait
    nulla facilisi.';
    $s = s/[\r\n]//g;
  2. or download this
            s/iter ikegami   lodin     oha
    ikegami   1.43      --     -1%    -48%
    lodin     1.42      1%      --    -48%
    oha      0.740     93%     92%      --
  3. or download this
            s/iter     oha   lodin ikegami
    oha       1.66      --    -12%    -14%
    lodin     1.46     14%      --     -2%
    ikegami   1.43     16%      2%      --

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2022-05-19 18:36 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (72 votes). Check out past polls.