Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Random word generator

by moklevat (Priest)
on Feb 27, 2008 at 14:32 UTC ( #670643=note: print w/replies, xml ) Need Help??

in reply to Random word generator

It would be much easier to help improve your code if you posted what you have already tried. However, if I understand the problem correctly, I suggest the following:

  • Get a dictionary file and extract all words of length N.
  • Read the list of all N-character words into an array.
  • Select a random element from the array.
  • Log In?

    What's my password?
    Create A New User
    Node Status?
    node history
    Node Type: note [id://670643]
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (4)
    As of 2016-10-23 00:13 GMT
    Find Nodes?
      Voting Booth?
      How many different varieties (color, size, etc) of socks do you have in your sock drawer?

      Results (299 votes). Check out past polls.