this release is usable but far from a definitive API. don't use in production
use Text::Anagram qw< anagram >; anagram { say } "bob";
add a callback to stop a branch of solution
use Text::Anagram qw< anagram >; anagram "bob" , stop => sub { length > 2 && /^ana/ } , finally => sub { say }
also
* localize stuff to run anagrams in anagrams * compare anything (not only char) ?
https://github.com/eiro/p5-text-anagram
To install Text::Anagram, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Anagram
CPAN shell
perl -MCPAN -e shell install Text::Anagram
For more information on module installation, please visit the detailed CPAN module installation guide.