Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by tye (Sage)
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
Domain Nodelet?
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 about the Monastery: (1)
As of 2021-10-16 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (69 votes). Check out past polls.

    Notices?