Given a file of words W such as 'cat dog at home ...' (or perhaps read into an array, though that would be a very large array), and a set of letters L (a string 'aoeuidhtns' - perhaps put into a array), how would I write a program to extract all words in W whose letters are all in L? I'm thinking of a program to generate a string of words for a typing-tutor program.

Jim Witte
[EMAIL PROTECTED]
Indiana University CS


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to