http://www.perlmonks.org?node_id=1020833


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