Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Permuting with duplicates and no memory (off by 1)

by tye (Cardinal)
on Apr 02, 2007 at 03:11 UTC ( #607748=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    do {
        print "@ARGV\n";
    } while( nextPermut­e(@ARGV) );
    
  2. or download this
          return if $i == -1;
    
  3. or download this
          if(  $i == -1  ) {
             $first= 1;
             return;
          }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-10-22 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls