PERL_INSTALL=/tmp/perl.`uuidgen` ./Configure -Dprefix=/opt/perl make -f Makefile install.perl DESTDIR=${PERL_INSTALL} # Now to install modules I need /opt/perl sudo ln -sf ${PERL_INSTALL}/opt/perl /opt/perl #### for i in `cat modules.list` do PERL_BIN=/opt/perl/bin/perl (cd $i && make -f OURMakefile install) || exit 1 done #### cp -dpvR ${PERL_INSTALL}/opt/perl ~/devel/root/opt