Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: possible combinations in sequence

by ruzam (Curate)
on Jun 09, 2006 at 04:01 UTC ( [id://554417]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub ikegami3x {
        local $_ = ":$_[0]:";
    ...
        /$re/;
        return @rv;
    }
    
  2. or download this
    sub rhesa2 {
        my @kw = split /:/, $_[0];
    ...
            join ':', @ar;
        } ( 1 .. 2**@kw - 1 );
    }
    
  3. or download this
    source: horse:cow:dog:cat
                 Rate  ruzam  ikegami3  ikegami2  ikegami3x  rhesa2  rhesa
    ...
    rhesa2    6023/s   269%   20%       17%      --        -9%       -9%
    ikegami3x 6614/s   305%   32%       28%     10%         --       -0%
    ikegami3  6634/s   307%   32%       29%     10%         0%        --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-16 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found