Look, I get it. You don’t like the Perl programming language or have otherwise disregarded it as dead.” (Or perhaps you haven’t, in which case please check out my other blog posts!) It has weird noisy syntax, mixing regular expressions, sigils on variable names, various braces and brackets for data structures, and a menagerie of cryptic special variables. It’s old: 34 years in December, with a history of (sometimes amateur) developers that have used and abused that syntax to ship code of questionable quality. Maybe you grudgingly accept its utility but think it should die gracefully, maintained only to run legacy applications.

But you know what? Perl’s still going. It’s had a steady cadence of yearly releases for the past decade, introducing new features and fencing in bad behavior while maintaining an admirable level of backward compatibility. Yes, there was a too-​long adventure developing what started as Perl 6, but that language now has its own identity as Raku and even has facilities for mixing Perl with its native code or vice versa.

And then there’s CPAN, the Comprehensive Perl Archive Network: a continually-​updated collection of over 200,000 open-​source modules written by over 14,000 authors, the best of which are well-​tested and ‑documented (applying peer pressure to those that fall short), presented through a search engine and front-​end built by scores of contributors. Through CPAN you can find distributions for things like:

All of this is available through a mature installation toolchain that doesn’t break from month to month.

Finally and most importantly, there’s the global Perl community. The COVID-​19 pandemic has put a damper on the hundreds of global Perl Mongers groups’ meetups, but that hasn’t stopped the yearly Perl and Raku Conference from meeting virtually. (In the past there have also been yearly European and Asian conferences, occasional forays into South America and Russia, as well as hackathons and workshops worldwide.) There are IRC servers and channels for chat, mailing lists galore, blogs (yes, apart from this one), and a quirky social network that predates Facebook and Twitter.

So no, Perl isn’t dead or even dying, but if you don’t like it and favor something newer, that’s OK! Technologies can coexist on their own merits and advocates of one don’t have to beat down their contemporaries to be successful. Perl happens to be battle-​tested (to borrow a term from my friend Curtis Ovid” Poe), it runs large parts of the Web (speaking from direct and ongoing experience in the hosting business here), and it’s still evolving to meet the needs of its users.

6 thoughts on “The reports of Perl’s death have been greatly exaggerated

  1. Perl is my favorite programming language. I sometimes look for excuses to write Perl scripts. It revitalized my interest in programming after I grew frustrated with Python and with JavaScript. Regardless of what anyone says, I don’t think that there has ever really been a better time to be a Perl hacker. While I might check out and even extensively use other languages in the future, I’m sure that I’ll always come back to Perl.

  2. I’m a data admin at a large corporation where our tasks have been increasingly consolidated. Over the past few years we’ve migrated from Excel spreadsheets to MS Access and finally to mySQL.

    This required a bit a preprocessing on data files before we load them to mySQL. We tried this with Powershell scripts using Powershell commands. A half-​Gb file took 15 minutes to process. We have to work in Windows, so I found Strawberry Perl and installed it. A simple text operation that took Powershell much grinding and knashing of teeth was done in three seconds.

    I now write Perl one-​liners to call from Powershell, It’s not pretty, but it’s screaming fast. I’m grateful Perl is around.

    I predict that with REGEXP conditions now more widely spread among major database implementations (mySQL etc.), Perl will attract new interest, especially for those needing to process huge files. I’m glad to have found it.

  3. Cover image by Adam Levine, licensed CC BY 2.0” I followed the link since that’s the name of the maroon 5 singer. The website says the owner is ALAN levine.

Comments are closed.