in reply to How can one generate all possible permutations of r elements out of n where r<n?
Several of your previous posts are on this style of topic, you "donot find a simple perl code", don't just search, try to write it yourself. Solve the problem with paper and pen, then convert to perl.
In Section
Seekers of Perl Wisdom