There are several ways to have multiple Perl versions on one box, and have them play nicely together:
cpanm App::perlbrewperlbrew initperlbrew available --allperlbrew install 5.10.1ls -l $PERLBREW_ROOT/perls/perlbrew use perl-5.10.1which perlunset PERL_LOCAL_LIB_ROOT PERL_MB_OPT PERL_MM_OPT PERL5LIBperlbrew available --all ostensibly offers versions as far back as perl5.003_02a, if you try to actually build any Perls before 5.6.0, you will immediately get a build error:
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.0asdf plugin add perlasdf list all perlasdf install perl 5.10.0