in reply to Need help with Peal!
I'd use a hash to keep track of the letters you generate, and the exists function. If you check the perl FAQs perlfaq1, perlfaq2, etc., you may find some other bits of information to simplify your task.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Need help with Peal!
by ivanzhibin (Initiate) on Nov 24, 2012 at 16:42 UTC | |
by roboticus (Chancellor) on Nov 24, 2012 at 17:14 UTC | |
by ivanzhibin (Initiate) on Nov 24, 2012 at 22:12 UTC | |
by roboticus (Chancellor) on Nov 25, 2012 at 02:07 UTC | |
by Anonymous Monk on Nov 25, 2012 at 22:54 UTC | |
| |
by Anonymous Monk on Dec 01, 2012 at 14:04 UTC | |
by roboticus (Chancellor) on Dec 01, 2012 at 15:12 UTC | |
by Anonymous Monk on Nov 24, 2012 at 16:52 UTC |
In Section
Seekers of Perl Wisdom