in reply to make error installing Algorithm::Permute
Not what you're asking, but have you considered using Algorithm::Combinatorics? This does (permut|combin|vari)ations, and more.