http://www.perlmonks.org?node_id=1005371


in reply to Need help with Peal!

Ivanzhibin:

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.