Perl 5.14 Released
chromatic writes "Pumpking Jesse Vincent has just released Perl 5.14, the latest stable version of the venerable Perl 5 programming language. The list of changes in Perl 5.14 includes several enhancements, including performance tuning, Unicode improvements, and updates to the core libraries and documentation. Perl 5.16 is on track for a release next April."
Wasn't Perl 6 supposed to be available about, oh, 11 years ago?
.... does it have any new operator? :-P
And before you tell, it was just a joke, I know you should now add operators in a minor release.
Why can't
Where do I sign up?
Back in its day, Perl was vastly superior to its alternatives for web server language or large/large shell script jobs. So many superior (e.g. python) or just simpler (e.g. php5) alternatives have arisen while Larry vainly struggles on trying to turn Perl 6 into a swiss army knife complete with toilet, bowling ball and strap-less bra. Thus is the language is dying off, I see few projects done in Perl at my clients (which have tens of millions to billion+ dollar IT budgets). Sure, it's part of the important legacy code in various configuration and building tools for various OS that I use, but I could say the same for the remaining COBOL that lingers at my clients. It's undead but hardly living.
Stop complaining. Perl is still the shit.
Perl is alive!
Last time I checked Slashdot still runs on perl...
My company does too.
Now that ActiveState is providing Perl for Cloudfoundry, it's going to be good times in Perl land.
Despite what many are saying, Perl is still used extensively even for new projects. I use it daily, and while I really like ruby and python, for a variety of reasons, I have not switch away from Perl for most projects. My only question is when will Strawberry Perl 5.14 be released?
With Perl, that complexity gives you power. If one does lots of programming, and their mind is in good shape, Perl can be used to rapidly dispatch programming problems.
can anyone explain the picture of a headless camel next to the article summary? Is this Perl's mascot? Does a camel with its head cut off act similarly to a chicken with its head cut off?
Perl 5.14 is already available in the MidnightBSD mports. Try it out folks.
I don't like Perl so I wish the catchy put-down of the summary title was accurate, but its not quite right. I think shell scripts are the COBOL of scripting. Perl might be more like B, although I'm not sure there is a great analogy there.
Did I time warp to the 90's?
Indians using proper Microsoft Certified development tools.
Did you write that with a straight face? Enjoy spending Microsoft's money, you pathetic shill!
"Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
I see dead languages, languishing in the default installs of OS mostly as wrappers for menial tasks, taking command line arguments and making output in some cron and admin jobs, and they don't even know that they're dead! 8o
A more readable changelog, with formatting, hyperlinks etc applied (rather than a raw pod file) can be seen here
I decided to specialize in Java at college. Today, my business I want to start will be php based because I am 5x as productive with it, but Java is great for large scale programs.
With Spring, Hibernate, and MVC you can make great million line code web sites that are more like applications than simple scripts frankensteined together ala PHP. This is great for advanced database access and business logic and intelligence. For 90% of sites out there ... tiny ... Java is overkill. However with Java I can develop the app, extend it, modify it, and change it little over a decade compared to PHP and can make it scale from a shared single server all the way to an IBM mainframe.
I do admit I will only switch to Java after I have the revenue to hire someone to do it full time so it is not perfect. But if I were to grow my idea into a billion dollar company it would seem Java would fit my bill quite well. I know 10 years from now I can deploy the code and it will run securely with minimal issues.
http://saveie6.com/
Internet Yiddish LIVES!
Just reading the comments for and against perl and wondering about the age of the posters. How many new perl programmers are there? How many people are switching? It just sounds like some comments are from people with 10+ years of IT experience and bit stuck in their ways (just like I am with python!).
Is this perl's destiny http://news.bbc.co.uk/2/hi/also_in_the_news/7097647.stm
Python 3 is barely different from Python 2
It's different enough to break the language for legacy code.
When you have code by the million lines, it's impossible to have a script that can reliably convert programs like Guido thinks it can. It's not just adding parentheses to print, there are some beastly things, like giving the division operator a different behavior. In Python 2.7, the result of (3 / 2) is 1, in Python 3 it's 1.5. I have absolutely no way to pore through those million lines and checking every division to see which operator should I use, keep the '/' or change it to '//'.
Besides, the changes from Python 2 to 3 are *all* in the direction of making it a more verbose language. I couldn't find any example of code that would be shorter in Python 3 than in 2. That goes against the philosophy of a scripting language, the last thing we need is a new Java.
I had gradually changed from Perl to Python over the years, but this P3k made me reconsider if this was wise. Apparently, there's no good-for-everything language left. So, in the scripting side, where quick results count, I've been considering switching back to Perl. Conciseness is king here, and nothing beats Perl at that.
As for large projects, thank god C is still there, still running K&R style code almost unchanged. Looking back over the years, I find that, for big projects, no language has given me less trouble than C. Once you get it running, it runs forever.
I stopped using Perl when I was 15, and even before then it was inferior.
There are some really good changes going into 5.14. Worth highlighting for anyone with Perl experience.
The Array/Hash reference mess has been greatly improved. You can now perform most builtin operations directly on array references. So no need to mess around with dereferencing things all over the place. This is a huge improvement in the syntax surrounding complex data structures.
The eval exception handling mess has been cleaned up so that error handling modules such as autodie can function properly without strange corner cases.
A recently installed server in a small company (Debian Squeeze):
$ find /bin /sbin /usr/bin /usr/sbin -type f -exec file "{}" \; | grep 'perl .*script' | wc -l /bin /sbin /usr/bin /usr/sbin -type f -exec file "{}" \; | grep 'python .*script' | wc -l
196
$ find
46
My notebook (Ubuntu 10.4):
$ find /bin /sbin /usr/bin /usr/sbin -type f -exec file "{}" \; | grep 'perl .*script' | wc -l /bin /sbin /usr/bin /usr/sbin -type f -exec file "{}" \; | grep 'python .*script' | wc -l
398
$ find
134
Of course, some may prefer Perl to grep + wc (it's faster too):
$ find /bin /sbin /usr/bin /usr/sbin -type f -exec file "{}" \; | perl -ne '/(perl|python) .*script/ && $$1++; END {print "$perl perl\n", "$python python\n"}'
398 perl
134 python
Thanks for the excellent insight.
However, isn't Perl dying rapidly? Isn't Python the new Perl?
Remember all the jokes about Perl being a write-only language? The libraries are wonderful, but the language is discouraging.