Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: Iterating through string combinations

by jbert (Priest)
on Dec 18, 2001 at 09:08 UTC ( [id://132807]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Iterating through string combinations
in thread Iterating through string combinations

If you want to work out percentages, what you *really* want to be doing is to randomly pick valid usernames and go from there.

The code to randomly generate a username is left as an exercise for the reader. (minus 3 points for saying "Use the loop above to generate an array and then pick random elements from that", although I do grant that is how a mathematician would approach the problem.)

Q: How does a mathematician boil an empty kettle?
A: S/He fills the kettle, switches it on and waits for it to boil.

Q: How does a mathematician boil a kettle full of water?
A: S/He empties the kettle, reducing it to the previous problem.

Disclaimer: I may have studied mathematics in the past...

  • Comment on Re: Re: Re: Iterating through string combinations

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://132807]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.