Download Perl 5.10
Windows users can download an installer for perl 5.10.1 from Simply download and run the installer. Then, close your Command Prompt terminal and re-launch cmd from Start -> Run to get a command-line shell with the newly-defined environment. If running the command perl --version still gives. Xampp-win32-perl-addon-5.10.0-2.2.11.exe, 2008-12-21, 13.8 MB, 0. Xampp-win32-perl-addon-5.10.0-2.2.11-installer.exe, 2008-12-20, 15.1 MB, 0. Xampp-win32-perl-addon-5.10.0-2.2.9-pl2-installer.exe, 2008-11-03, 15.1 MB, 0. Xampp-win32-perl-addon-5.10.0-2.2.9-pl2.zip, 2008-11-02, 29.9 MB, 0.
Perl 5.10 brings a lot of new features to the Perl programming language.You can get a glimpse of them athttp://dev.perl.org/perl5/news/2007/perl-5.10.0.html. This page willtell you how to upgrade to Perl 5.10.
ActivePerl
I've always had a lot of luck using ActivePerl on Windows, and you can getversion 5.10 from their site. Just link to ActivePerl.com and poke around for the download. Yes, ActivePerl is free;just keep following the 'Download' links to get it. ActiveState (the company)wants to sell prepackaged DVDs that have ActivePerl and half a dozen otherdevelopment tools on them, but the interpreter itself is a free download.Strawberry Perl
I've never personally used Strawberry Perl, but I've heard some good thingsabout it. Apparently it's just like the standard Perl that comes preinstalledon all Unix/Linux/Mac OS systems, but is for Windows. It's also fullyCPAN compatible, which makes it that much better than ActiveState's PPMsystem. You can get Strawberry Perl at StrawberryPerl.com.Since the Windows distributions of Perl come in binary form which installthemselves just like any other piece of Windows software, this tutorial insteadexplains how to compile Perl 5.10 for a Linux machine. In this tutorial,CentOS 5 / Red Hat Enterprise Linux 5 will be used, however the procedureshould be quite similar for other distributions of Linux as well.Note: You may be tempted to do a `yum remove perl` to removethe 5.8 version that your distribution came with. Don't. I'll give an explanationwhy later on.
Does your vendor already have Perl 5.10?
If you can install Perl 5.10 via yum, apt, portage, or whatever your packagemanager is, I highly recommend you do it. It's always better to install thingsso that your package manager is aware of their existence rather than to goahead and install something behind its back. If all you can get is Perl 5.8,though, you'll need to compile it yourself.Download the Perl Source
Just link to http://search.cpan.org/dist/perl/and click the 'Download' link at the top of the page. That should get you thesource code to the most recent version of Perl, which is currently 5.10.0.Download it, extract it somewhere, and open up a terminal.Make and Install
This is the procedure I used to compile Perl. I logged on as root for the entireprocess; you may wish to wait until the `make install` phase to switch to root,or do a `sudo make install`.My system already had all the dependencies installed, so I can't give you a clearlist of all the packages you'll need to be able to compile Perl. However, I knowyou'll need GNU Make and probably the GNU C Compiler. These can be installedquite easily on pretty much every Linux distribution using their package manager.
- Switch to root. CLI:Enter the root password and hit enter.
- Change to the directory you extracted Perl to. I extracted mine to my regular user's home directory.
- Configure the installation. This phase will make sure all the dependencies are installed and guess some default options. It's usually pretty good at guessing. CLI:The -Dusethreads option is to compile the interpreter to support threads (which I recommend; there's no reason I can see why you SHOULDN'T compile with threads).
- Run the standard make, make test, and make install commands. Note that `make install` must be executed as root, so if you're playing it safe and keeping root out of this until `make install`, you'll need to `sudo make install` instead (or switch to root, `cd` back to the source directory, and then do `make install`
Post Configuration
Download Perl 5.6
By the time Perl 5.10 finished installing, I now have two different versions ofPerl installed: the previous 5.8 version and my new 5.10. Like I said before,you may be tempted to try and remove version 5.8, but don't. I've still yet toget to the reason why.On my system, /usr/local/bin/perl was version 5.10, but /usr/bin/perl was stillthe old 5.8 version. For general use, this was okay, because the new version ofPerl showed up earlier in my $PATH statement, so that the `perl` command at theterminal executed the newer version. However, all of my CGI scripts on my webserver were using /usr/bin/perl, the old version.
Download Perl 5.14 For Windows 7
So this was a simple fix: just symlink the old binary to the new binary.What we did was we renamed the old perl to be 'perl58' (so if you absolutely needit in the future, you can rename it back). Then we made a symbolic link to thenew perl binary so that the location of the old binary still pointed to it.Note, however, that Perl 5.8 and 5.10 have their own module paths, so if youinstalled any modules for Perl 5.8, you'll have to reinstall them for 5.10.
Why Not Remove Perl 5.8
Well, for a visual explanation, this is what `yum` wanted to remove when I dida simple `yum remove perl` command:To prevent yum from modifying your installation of Perl, edit the file/etc/yum.conf with your favorite text editor and add the line:
That way, yum won't be tempted to update what it believes is your current versionof Perl (which, on Red Hat Enterprise systems, yum isn't likely to upgrade toPerl 5.10 of its own free will anytime soon, so you'd be more likely to get a newstable release of 5.8, which would undermine your efforts to upgrade to 5.10).Now that you have Perl 5.10 installed, you can start playing around with the newfeatures. To that end, you can follow the link I mentioned up at the top of thepage and click around to see how to get started with Perl 5.10.2008/01/04
~Kirsle
The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.
Name | Modified | Size | InfoDownloads / Week |
---|---|---|---|
Parent folder | |||
xampp-win32-perl-addon-5.10.0-2.2.11-pl2-installer.exe | 2009-04-15 | 14.9 MB | |
xampp-win32-perl-addon-5.10.0-2.2.11-pl2.zip | 2009-04-15 | 31.0 MB | |
xampp-win32-perl-addon-5.10.0-2.2.11-pl2.exe | 2009-04-15 | 13.7 MB | |
xampp-win32-perl-addon-5.10.0-2.2.11-pl1-installer.exe | 2009-02-20 | 15.0 MB | |
xampp-win32-perl-addon-5.10.0-2.2.11-pl1.exe | 2009-02-17 | 13.7 MB | |
xampp-win32-perl-addon-5.10.0-2.2.11-pl1.zip | 2009-02-17 | 29.8 MB | |
xampp-win32-perl-addon-5.10.0-2.2.11.zip | 2008-12-21 | 29.9 MB | |
xampp-win32-perl-addon-5.10.0-2.2.11.exe | 2008-12-21 | 13.8 MB | |
xampp-win32-perl-addon-5.10.0-2.2.11-installer.exe | 2008-12-20 | 15.1 MB | |
xampp-win32-perl-addon-5.10.0-2.2.9-pl2-installer.exe | 2008-11-03 | 15.1 MB | |
xampp-win32-perl-addon-5.10.0-2.2.9-pl2.zip | 2008-11-02 | 29.9 MB | |
xampp-win32-perl-addon-5.10.0-2.2.9-pl2.exe | 2008-11-02 | 13.8 MB | |
xampp-win32-perl-addon-5.10.0-2.2.9-pl1.zip | 2008-08-06 | 34.4 MB | |
xampp-win32-perl-addon-5.10.0-2.2.9-pl1.exe | 2008-08-06 | 19.2 MB | |
xampp-win32-perl-addon-5.10.0-2.2.9-pl1-installer.exe | 2008-08-06 | 20.8 MB | |
xampp-win32-perl-addon-5.10.0-2.2.9.zip | 2008-07-07 | 34.3 MB | |
xampp-win32-perl-addon-5.10.0-2.2.9.exe | 2008-07-07 | 19.2 MB | |
xampp-win32-perl-addon-5.10.0-2.2.9-installer.exe | 2008-07-07 | 20.7 MB | |
Totals: 18 Items | 384.5 MB | 26 |