Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: How can one generate all possible permutations of r elements out of n where r<n?

by marto (Bishop)
on Feb 27, 2013 at 09:21 UTC ( #1020833=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How can one generate all possible permutations of r elements out of n where r<n?
in thread How can one generate all possible permutations of r elements out of n where r<n?

perlintro, perlrun, http://learn.perl.org.

Update: you claim this code solved your problem, yet it didn't include #!/usr/bin/perl

  • Comment on Re^3: How can one generate all possible permutations of r elements out of n where r<n?
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2016-06-28 14:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (359 votes). Check out past polls.