The Perl package is in /usr/bin
and is an older version (5.12.4). The current stable release appears to be 5.14.2.
How do I update this version? Root access is required, and I do not want to compile new binaries to install in a directory that is in my path.
The following command will update all of your Perl packages and test them for you:
Perl Tag:
Package versions
https://help.ubuntu.com/community/UbuntuBackports:
Ubuntu 11.10 Perl version
A link: What version of Perl is shipped with the Desktop Version of 11.10?
The Perl 5.14.2
Ubuntu Packages: http://packages.ubuntu.com/search?keywords=perl&searchon=names&suite=all§ion=all
Ubuntu 12.04 LTS
The Ubuntu 12.04 will be released: https://wiki.ubuntu.com/PrecisePangolin/ReleaseSchedule
Ubuntu 12.04 Forum: http://ubuntuforums.org/forumdisplay.php?f=412
is an option that might help.
Open Terminal (CTRL + ALT + T) and execute the following command:
And become the super user by giving your password. Then execute:
And then execute:
And finally execute:
You should use perlbrew; this is the actual way to do it. Maybe Ubuntu people won't like this way because it is not package based, but if you need to involve yourself into Perl, this is a prerequisite. The process is painless, and you don't have to be afraid by compiling Perl; it's really painless.
Depending on your needs, take also a look at cpanminus and local::lib. It will make you life easier.
None of those require root privileges; you have to enjoy this.
Don't forget that using the Ubuntu outdated Perl packages is almost crazy, because they are really old versions, and you just don't need to hurt yourself by using this old stuff.
See also this answer.