in reply to Porting Perl to Unix OS

Take a look at compiling Perl from source. The README file has an example for compling perl under a defined prefix:

./Configure -des -Dprefix=$HOME/localperl make test make install

Much more in depth information can be found in the INSTALL file.