Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: How can one generate all possible permutations of r elements out of n where r 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?
Discipulus wonders if just numbers less than 18 are really floating..( chemical humor)
[Lady_Aleena]: Hello.
[Discipulus]: ciao Lady_Aleena

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-06-26 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (594 votes). Check out past polls.