I like you just the way you are.

Perl, I like you just the way you are. There's been some interesting features and fancy OO modules in the last ten years, but my code is still 5.6.0...


The list of changes from 5.6.0 to 5.8.0 (~ 2 years) are admittedly not that stellar, unless you're working with Unicode or multithreading.

However, between 5.8.0 to 5.10.0 (~ 5 years) there are many juicy bites that can improve your code in general if you're willing to reconsider. And I'm not talking about Moose/OO at all.

Yup, those are the two biggies. Another one is state variables. Switch also simplifies conditionals if you have lots of them, but sadly this (and the related smartmatch operator) are being demoted to experimental status.

Also don't underestimate the considerable performance improvements and bug fixes that go on under the hood.

Leave a comment

About Dmitri

user-pic I blog about Perl.