http://www.perlmonks.org?node_id=900089


in reply to fixing a mistake

One solution would be to rename the Perl binary in /usr/local to myperl or something. That way perl -> Ubuntu's Perl and myperl to yours.