I think you are trying to resort the characters in the input-strings alphabetically (why?) maybe print those temp strings too for debugging purpose.
I'm no Scrabble player and I'm not sure why you do what you do.
What's the concept here?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^4: Problem with regex wildcard operator (.)...?
by LanX
in thread Problem with regex wildcard operator (.)...?
by sbrothy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |