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


in reply to Perl's pearls

It's a very cool script but what I'm missing is using two words for input or even getting a two-word-anagram like this example:
Jim Morrison -> Mr. Mojo Risin'

--
paco for president
TomK32 - just a geek trying to change the world

Replies are listed 'Best First'.
Multiple words anagrams (challenge) Re: Perl's pearls
by gmax (Abbot) on Jan 02, 2002 at 11:33 UTC
    This is a real challenge (at least for me).
    Finding (multiple) words that are anagrams of a given phrase is much more complex than finding the simple anagrams. However, we can do something, at least to find up to three words corresponding to a given input.