in reply to Perl version
Many OS installations have a substantial amount of software that’s written in a particular version of Perl, and that depends on it. You can certainly install a different version “from source,” and that is exactly what you should do. As though you were, say, on a shared-hosting system that had not yet caught up with the times. Your “local” environment would be installed in some location, such as (say...) /usr/local/bin, which occurred earlier on your $PATH, and you would also arrange for locally-defined values for $PERL5LIB and so on.