rooneyl has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I need to generate a random word. I have bodged it by generating random characters, and passing this to the Aspell dictionary. Unfortunately this makes a list of words of all lengths, where I need to generate a word of a certain length.
Could someone advise me on how to modify this to show only words of a certain length, or is there another way.
I'm using the current version of Aspell (with test::apsell) and perl 5.8.8 on solaris.
Thank you in advance for any help.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Random word generator
by McDarren (Abbot) on Feb 27, 2008 at 14:29 UTC | |
by rooneyl (Sexton) on Feb 27, 2008 at 19:27 UTC | |
Re: Random word generator
by kyle (Abbot) on Feb 27, 2008 at 15:57 UTC | |
by perreal (Monk) on Oct 05, 2010 at 17:07 UTC | |
Re: Random word generator
by moklevat (Priest) on Feb 27, 2008 at 14:32 UTC | |
Re: Random word generator
by Your Mother (Archbishop) on Feb 27, 2008 at 23:21 UTC | |
Re: Random word generator
by erik (Sexton) on Feb 27, 2008 at 15:37 UTC |
Back to
Seekers of Perl Wisdom