in reply to Getting combinations from a number's digits

You might take a look at List::Permutor. Split your string, take the permutations, go away happy.
  • Comment on Re: Getting combinations from a number's digits