in reply to Why should I use perl 5.10?
Here are some things of the top of my head that I think are pretty cool:
update: ok, in some ways that's just a rehash of perldelta, here's the executive summary:
There has been an awful lot of refactoring done under the hood. Andy "petdance" Lester added const to just about everything that it was possible to do, and in the process uncovered lots of questionable practices in the code. Similarly, Nicholas Clark and Dave Mitchell nailed down many, many, many memory leaks.
Much of the work done to the internals results in a much more robust engine. Far likelier err, less likely, to leak, or, heavens forbid, dump core. If you have long running processes that chew through datasets and/or use closures heavily, that is a good reason to upgrade.
For new developments, there are a number of additions at the syntax level that make writing Perlish code even better. Things like Mark-Jason Dominus's book on Higher Order Perl makes heavy use of constructs such as closures that tend to leak in 5.8. If this style of programming becomes more widespread (and I hope it does, because it allows one to leverage the power of the language in extraordinary ways) then 5.10 will be a better fit.
Years ago, having been bitten by nasty things in 5.6, I asked Does 5.8.0 suck?. As it turns out, it didn't. I think that 5.10 won't suck, either. One big thing that has changed then is that far more people are smoking all sorts of weird combinations of build configurations on a number of different platforms, and many corrections are being made as a result of that. Things that otherwise would have forced a 5.10.1 to be pushed out in short order.
update: clarified the "no more foo" additions, as per dmorgo's comment.
• another intruder with the mooring in the heart of the Perl
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Why should I use perl 5.10?
by doom (Deacon) on Nov 30, 2007 at 23:34 UTC | |
Re^2: Why should I use perl 5.10?
by shotgunefx (Parson) on Nov 30, 2007 at 23:51 UTC | |
Re^2: Why should I use perl 5.10?
by Jenda (Abbot) on Dec 01, 2007 at 03:24 UTC | |
by Somni (Friar) on Dec 01, 2007 at 16:17 UTC | |
by shmem (Chancellor) on Dec 01, 2007 at 16:47 UTC | |
Re^2: Why should I use perl 5.10?
by John M. Dlugosz (Monsignor) on Apr 29, 2008 at 15:34 UTC | |
by Anonymous Monk on Dec 08, 2009 at 13:36 UTC | |
by kyle (Abbot) on Dec 08, 2009 at 15:49 UTC | |
Re^2: Why should I use perl 5.10?
by dmorgo (Pilgrim) on Dec 04, 2007 at 17:57 UTC | |
Re^2: Why should I use perl 5.10?
by bart (Canon) on Dec 05, 2007 at 12:40 UTC | |
by duff (Parson) on Dec 13, 2007 at 17:42 UTC | |
by Limbic~Region (Chancellor) on Dec 13, 2007 at 17:58 UTC |