Perl 5.16.0 Released 192
An anonymous reader writes "Perl 5.16.0 is now available with plenty of improvements all around. You can view a summary and all the change details here. With Perl on an annual release schedule, and projects like Mojolicious, Dancer, perlbrew, Plack, and Moose continuing to gain in popularity, are we in the middle of a Perl renaissance?"
Re:Whatever happened to Perl 6? (Score:2, Informative)
Perl 6 is quite a departure, with many breaking changes from 5. People had code written in 5, and 6 became moored in WIP status for the last 6-x years.
Modern Perl book (Score:4, Informative)
Chromatic's Modern Perl book [onyxneon.com] is also available as a free download. It's useful for Perl programmers who want to know what's new in the Perl world in the last several years.
Re:Whatever happened to Perl 6? (Score:5, Informative)
I love Perl, but I'm curious. Whatever happened to Perl 6? I remember hearing about it way back when I was in grad school, which was a long time ago.
Perl 6 isn't dead, per se. A quick google search shows that there are a few implementations running around, although none are even close to production-ready yet. Here's the Perl 6 portal [perl6.org], in case you were wondering.
I did run and download one of the more complete implementations, and part of the problem I think is that perl 6 is not ANYTHING like perl 5. The reason I use perl at all, and the only reason I still use perl 5 TO THIS DAY is the regex capabilities. They completely ripped that out of perl 6 and re-implemented it to make it more user-friendly, and they did so poorly, IMHO. Instead of calling htis perl 6, they should have named it something completely different. Call it "perl" does a disservice to what made perl so powerful in the first place.
Re:Hard to get started (Score:5, Informative)
I have a bias, but I've had many positive responses to Modern Perl: The Book [modernperlbooks.com].
Re:No (Score:5, Informative)
Coming back?
It never left, I used it everyday.
Re:Whatever happened to Perl 6? (Score:4, Informative)
If that scares you, cover your eyes: there are more than two compilers.
Not exactly. The Rakudo (Perl 6 on Parrot) people want to write a VM independence layer and port that to multiple VM backends.
Don't ask me to explain that.
Re:Perl's strength (Score:1, Informative)
Perl was written by a linguist, not an engineer.
And that engineer loved Latin, not Esperanto.
The following single line:
@Lines = sort { $a->{Name} cmp $b->{Name} } @Lines;
In Python is:
lines.sort(key=lambda o: o.name) # for inline sorting, or
lines = sorted(lines, key=lambda o: o.name) # mimicking the perl idiom
@Files = <c:/Windows/*.exe>;
In Python is:
from glob import glob
files = glob("c:/Windows/*.exe")
In other words, Python is just like Perl, only it is readable and makes sense.
Re:There will be no Perl renaissance (Score:5, Informative)
Sorry, Perl fanboys, but Perl is dead. Not only has it been eclipsed in the web domain by PHP, J2EE, ASP.Net, Ruby on Rails, and others, but in the scripting domain it has been overtaken by Python.
TIOBE Index [tiobe.com] seems to disagree: Java, C#, PHP, Python, Ruby all down.
Perl right there at 9, same as it ever was: a good tool for people that want to get work done and not chase the hot flavor of the month.