Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: How can one generate all possible permutations of r elements out of n where r by supriyoch_2008 (Scribe)

on Feb 27, 2013 at 09:14 UTC ( #1020831=note: print w/replies, xml ) Need Help??


in reply to Re: 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?

Hi space_monk,

Thanks for the suggestions. I have used Math::Combinatorics to solve the problem of combinations of elements.

With kind regards.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020831]
help
Chatterbox?
Corion idly wonders about creating a series of HTTP requests. There seems to be no framework to generate a series of HTTP requests, like "try all these requests"
[Corion]: This is vaguely inspired by that list of "nasty" strings, which I'd like to replace among HTTP parameters, just to see whether the application crashes, but also for easy downloading of a list of URLs etc
[Corion]: Maybe I'll just conoct something using Algorithm::Permute to create an (OO) generator for such requests, or a simple function.
[Corion]: For testing I imagine one would want to test a random sampling of such "bad"/"unexpected" requests, while for downloading, one would want to generate them all in order, but not necessarily as a huge list

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-01-16 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.