Web Development

After a period of five years, Perl 5.10 released

After a period of five years, the first major revamp to the Perl scripting language was released -- v5.10.

After a period of five years, the first major revamp to the Perl scripting language was released -- v5.10.

An excerpt from News.com:

The new version has some features designed to make programming a notch easier, according to the announcement last week. Among those features is a "say" command that eases some text-output chores, a "switch" operator to send a program in various directions depending on different situations, and improvements to the all-important "regular expression" methods for handling text. The Perl interpreter, which runs Perl programs, also is faster and requires less memory, the foundation said.

Debuting in 1987, Perl, the creation of Larry Wall, originally intended to simplify text manipulation. Over the years, the language has been modified and used as a mainstay programming language.

More information:

Perl language upgraded (InfoWorld)

Perl 5.10 Released (Linux Electrons)

Perl sees first official update in five years (TechSpot)

4 comments
Jaqui
Jaqui

Perl is the best language, for backwards compatability AND cross platform functionality. They don't rush releases of any changes to the language, so they can make sure they don't break backwards compatability. With Perl.org being the only source for perl interpreters for every non MS os, and Activestate being the only source for MS solutions for perl, there is no conflict with any perl script on any operating system. Activestate makes sure their product handles perl exactly the same as perl.org's interpreter does. [ non of the CONFLICTS in java interpreters / virtual machines / just in time compilers with perl, no need of conflict resolution framework like eclipse to use perl. ] edit to add: Sun broke backwards compatability with java between sun jre1.12 and sun jre1.14, there is no backwards compatability with java. you can't even have both those sun supplied jres installed at the same time, they won't allow both. java apps written for jre1.12 will not work with jre1.14 and visa versa.

Photogenic Memory
Photogenic Memory

I've been minorly practicing Bash shell scripting in my spare time off from work. I would like to diversify my experience. Is Perl a recommended way to start. Any prerequisites before diving in( General Expressions, C, C++, etc.)? Basically my goal is to make small fun home programs for my computers and work. There are so many other languages like Python, VB, Java, etc(which I don't know). However, is Perl the best place to start?

Ceespace
Ceespace

PHP is pretty much the same as perl / c / java for structure etc and will probably tell you where and what is wrong - handy if you are a beginner When I started on Perl it was either all works right or it didn't do anything (you knew something was wrong (like a missing ; ) because the screen was blank) So PHP would be a better starting place I think

Cees Timmerman
Cees Timmerman

There is a lot of old code written in Perl. Unfortunatly Perl code tends to use lots of obscure characters and is hard to read. I'm sure that improved in this new version, but "There's more than one way to do it!" is still the opposite of Python's "There should be one, and only one, obvious way to do it." One credit card company i've been to is switching from Perl to Python. I can personally recommend Python as an excellent beginner's language that scales up very well. It's small, easy to read, cross-platform, very functional out of the box (one-line webserver, anyone?), extendable with custom libraries, and there are even many scientific libraries - Google and NASA use Python. In short: Perl: old school mystical regex scripting wizardry. Python: small and beautiful, "Pythonic". Java: big and nerdy. VB: the old beginner's language that lacked object orientation. VB.Net is C# but more verbose. Ruby: Python for Perl lovers.