I have never done much Perl, but I enjoyed playing with it one spring at university. Who here is using Perl regularly?
I used to work at Booking.com, which has about a million lines of Perl in production. It was good times, I quite enjoyed working with it.
It was my main language from about 1998-2008. I don’t write programs in Perl anymore, but I regularly use perl -ne, perl -pe, and perl -i -p -e on the command line and in scripts.
perl -i -p -e
Same here. Back in the days of “traditional sysadmin” I used Perl for most tasks, be it small processing scripts or CGI web apps. These days Perl has fallen out of fashion and as much as I still like writing things in Perl 5, none of my colleagues wants to touch Perl code, so I end up doing much more Go, or sometimes Python (but I’m not a huge fan of Python).
That said, I did manage to semi-sneak some Perl 5 into production a while back, and recently replaced a complicated shell script which was doing all sorts of echo | grep | sed | xargs etc. - I put the Perl replacement up for review and most people said it was “surprisingly readable” and that no other language could have done it as well.
echo | grep | sed | xargs
Perl definitely still has its place, but there’s too much stigma around it now.
It’s possible to write reasonable Perl, but it’s very easy to make unreadable Perl if one isn’t careful. Unfortunately, sysadmins under duress was the most significant Perl userbase, while not one known for taking time on scripts. (Not helping Perl’s reputation for readability also: JAPH)
Agreed, TMTOWTDI is both good and bad. Perl lets you take shortcuts, so people take them. PHP is arguably just as bad for this (I guess because it evolved from Perl).
Never tried perl5, but I’ve been using perl6 quite a bit lately and I really enjoy it.
I use Perl regularly, as my “secret weapon” when consulting and/or writing API backends.
I used perl from 2005-2010 on closed source code (a fastcgi ad-server, of all things). I remember going through the camel book(s) at the same time, and quite enjoy it. I’ll miss the Perl conferences more than the language though. :p I never got to an expert level though, so it can be that.
I don’t use much Perl anymore but I really miss how well regular expressions were integrated into the language.
2/3 of my regular clients are Perl shops (the third is teaching, and that’s mostly Python), so Perl is basically my dayjob :)
I use Perl(5) for fun (personal projects, coding challenges etc).
I’ve broken it out in anger at work for some ad-hoc log parsing stuff too .
Not only is it the scripting language I usually reach for, and have since 4.036, but most of the externally facing services on Floodgap.com are written in Perl including the HTTP and gopher servers.
I’d just like to take the opportunity to thank you for making TTYtter back in the day!
I still use Oysttyer daily. Best Twitter client bar none.
Hey, thanks! :)
I believe The Register is still a perl shop :~)
Paul Evans (LeoNerd) - Full Stack in Five Minutes:
Maybe you can find some interesting tips here:
“Perl Jam aims to collect together the knowledge and experience of organising some great Perl events, and order them in such a way that anyone wishing to do the same, can follow the footsteps of those who have gone before, and prepare themselves for what will hopefully become a great event.”
Today I was at an information security “summit” and in the next ballroom over was a “PERL Meeting”
I wandered over and it was a meeting for nephrologists discussing Preventing Early Renal Loss.
Did you find the PERL meeting more interesting though?
That’s why we call it “Perl” and never “PERL” :-)
That’s a worthy goal though.