Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 romping around the Monastery: (7)
As of 2014-12-25 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls