in reply to compile perl for variable install directory
Look for how some of the 'portable' distributions do this. ISTR Strawberry being able to do it.
--MidLifeXis