Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: One Zero variants_without_repetition (Al gor loops)

by tye (Sage)
on Aug 07, 2007 at 15:14 UTC ( [id://631072]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Algorithm::Loops qw( NestedLoops );
    ...
        @bits[@ones]= (1) x $ones;
        print join '', @bits, $/;
    }
    
  2. or download this
        my $bits= 8;
        for my $o0 ( 0 .. $bits-1 ) {
    ...
                }
            }
        }
    
  3. or download this
    use strict;
    use Algorithm::Loops qw( NestedLoops );
    ...
        @bits[@ones]= (1) x $ones;
        print join '', @bits, $/;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-16 20:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found