Think about Loose Coupling | |
PerlMonks |
Re: OT: How to find anagrams?by davido (Cardinal) |
on Apr 28, 2004 at 00:20 UTC ( [id://348675]=note: print w/replies, xml ) | Need Help?? |
If you're permitted to make use of a prefab codebase you can turn to CPAN. I found words. It is a part of the Bundle::PPT distribution (also see ppt-0.12).
The brief description for words is "find words which can be made from a string of letters." The code for 'words' is all pure Perl, and having looked it over, it doesn't seem terribly complex. You might at least use it as a startingpoint.
Dave
In Section
Seekers of Perl Wisdom
|
|