in reply to character generator

I'd use Algorithm::Permute.