Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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