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 (Sage)
on Apr 02, 2007 at 03:11 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://607748]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-25 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found