5 ms·
Perl 5.16.0 is out, with 590,000 lines of changes
- perlgeek 15y agoSee http://search.cpan.org/%7Erjbs/perl-5.16.0/pod/perldelta.pod http://search.cpan.org/%7Erjbs/perl-5.16.0/pod/perldelta.pod for the list of changes. And if you want a copy of the announcement where the Unicode characters aren't broken, visit http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-05/msg00728.html http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-...
- andreasvc 15y agoSpeaking of broken, that second link you give doesn't contain a meta tag specifying the encoding, and the webserver probably doesn't send it either, because I had to set my browser to UTF-8 manually to see the correct accents.
- haberman 15y ago590,000 lines of changes is 30x as many lines as Lua's entire source distribution. Just thought I'd mention this in light of yesterday's discussion about simplicity/complexity: http://news.ycombinator.com/item?id=3995185 http://news.ycombinator.com/item?id=3995185
- ars 15y agoThe number includes cpan modules, not just the core language.
- gosub 15y agoBy the definition from Rich Hickey, lua seems to be optimized for simplicity while perl is for easiness.
- kabdib 15y agoI've been trading-in my habit of writing one-off Perl scripts for writing them in C#. I just clone a template file containing enough to get a "while(<>) { ... }" equivalent and a vanilla regular expression going -- ninety percent of what my one-offs need -- and I'm off and coding. The result is something that may or may not be faster, or clearer . . . but it's a whole lot easier to debug when something goes wrong. I learned Perl about a decade ago, and have never felt that plumbing its depths (references were about as sophisticated as I got) would pay off. (I won't get into what I think is broken about Perl, because that discussion definitely won't pay off :-) )
- bloblaw 15y agoThe open-source visual IDE written in Perl, called Padre, has an excellent integrated debugger. http://padre.perlide.org/ http://padre.perlide.org/. With the latest version of Padre, I find debugging Perl scripts to be as easy as C#. Or you can use the commercial Komodo editor which has another high quality Perl debugger.
- DigitalSea 15y agoPerl, the most humble of languages around. A mere 590,000 lines of code changes.
- draegtun 15y agoNicely related is the video New features of Perl 5.16 from the recent Perl Mova / YAPC::Russia conference... * video of Pavel Vlasov talk - http://vimeo.com/42408505 http://vimeo.com/42408505 * slides from talk - http://www.slideshare.net/fxzuz/perl-516-new-features http://www.slideshare.net/fxzuz/perl-516-new-features * conference link - http://perlmova.org/yr2012/ http://perlmova.org/yr2012/
- tferris 15y agoAnyone using Perl for new projects and why?
- Su-Shee 15y agoYes. Stability, maturity, great backwards compatibility, whipuptitude, a sea of well-cared mature modules on CPAN, the ease and convience of CPAN itself, already installed/available everywhere, Unicode support, creativity and competence of the community, exceptionally good documentation, "the spirit", MOP via Moose if I want to, rarely gets in my way, scales very well in terms of "thinking" and "project" (everything from tiny admin-script up to full-blown financial district application possible), speed, amazing interesting features in perl 6.... And no, you don't write the same Perl as in 1996 anymore.
- bloblaw 15y agoYes, I use it for new projects because it is: * extremely stable * CPAN, a huge collection of community provided modules * great modern OOP based web frameworks (Mojolicious, Dancer, Catalyst) * very strong Windows scripting support (WMI, Win32, etc) and BSD and Linux support * there are lots of Perl programmers out "there" to hire if I need them * The language is actively improved and updated with new features, see the free PDF "Modern Perl": http://onyxneon.com/books/modern_perl/ http://onyxneon.com/books/modern_perl/
- cafard 15y agoNot especially large ones, but yes, using it all the time. Want to exchange information between Active Directory and a relational database? Between Net::LDAP and DBI, Perl makes it easy. Need to rewrite quantities of old HTML to clean up unsupported tags? HTML::TreeBuilder is your friend. In general, CPAN is a tremendous resource.
- jboggan 15y agoYes, it is still a great glue for large projects. Right now I'm building a custom public health database with data from many different sources - some of them PDFs and other files with really irregular formatting that require single-use scripts with complex regular expressions. Perl was my first language so I can always purr through those problems, and I'm really comfortable (happy even) debugging a Perl script. I'm also maintaining a legacy bioinformatics project with about 30,000 lines of Perl in it and still making expansions on it. I won't defend Perl as the best choice for that project other than to say I was around some very good Perl hackers / sysadmin types and I picked up the only tool with a knowledge well nearby. It did however make me a much better programmer, especially since I ended up implementing a lot of functions manually that I probably should have just found on CPAN or used as a built-in method in another language. Perl is also really great when you are manually splitting data and jobs across a few thousand nodes and locally tweaking the run parameters for each job. Now that I've learned a few more languages I know that sort of thing might be better done with Hadoop but for a large GPFS system I rarely had problems. I will say that for memory considerations (the main ceiling I bumped into on the old cluster) object-oriented Perl sucked and was very slow. If you wanted to roll your own pseudo-objects with well designed nested hashes though you could really wail.
- jonathansizz 15y agoCongratulations to all involved! They've really got things back on track in the last several years. Things stagnated somewhat during the 5.6-5.8 era, but the 5.10 releases brought large positive changes, both to the codebase and to the development process itself. Perl is still the go-to language for tasks within its purview (as described by other commenters here).