Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: One Zero variants_without_repetition

by grinder (Bishop)
on Aug 07, 2007 at 12:21 UTC ( [id://631028]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        # print "@array\n";
        print join ('', @array), "\n";
    }
    
  2. or download this
    sub iter {
        my $zero  = shift || 3;
    ...
    while (my $str = $i->()) {
        print "$str\n";
    }
    
  3. or download this
        $cand < $#array - 1 and
             @array[$cand+1..$#array] = reverse @array[$cand+1..$#array];
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2024-04-18 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found