• Register

Recent posts tagged perl

17 1 8 min.
Last week’s arti­cle got a great response on Hacker News, and this par­tic­u­lar com­ment caught my eye:I think this is the real point about Perl code read­abil­i­ty: it gives you enough flex­i...
posted 2 days ago mjg 229 points
21 0 5 min.
The override key­word in Perl’s Moose object sys­tem is a nice bit of code-​as-​documentation since it explic­it­ly states that a giv­en method over­rides from its super­class. It also h...
posted Jul 13 mjg 229 points
7 0 4 min.
We have a huge codebase of over 700,000 lines of Perl spread across a couple dozen Git repositories at work. Sometimes refactoring is easy if the classes and methods involved are confined to one of those repos, but ...
posted Jun 29 mjg 229 points
8 0 4 min.
Ten years ago Rudolf Wine­stock wrote The Lisp Curse, an essay that “attempt[ed] to rec­on­cile the pow­er of the Lisp pro­gram­ming lan­guage with the inabil­i­ty of the Lisp com­mu&s...
posted Jun 22 mjg 229 points
21 1 0 min.
Just gave a five-minute lightning talk about blogging at The Perl and Raku Conference in the Cloud 2021. Here are the slides as a PDF.Blogging Outside the BubbleDownload...
posted Jun 13 mjg 229 points
22 1 1 min.
This article is fairly well-written, especially since it’s coming from a non-developer perspective. If I have one nit to pick, it is that Perl does have function/method signatures, and has had them since Perl 5.20 in 2014. See th...
posted Jun 13 mjg 229 points
24 1 3 min.
I spent this week debugging an issue with an internal web tool that our company’s support team relies upon to pull up information about our customers, making changes on their behalf to their subscriptions of the various packages and services th...
posted Jun 13 mjg 229 points
24 2 0 min.
This upcoming blog series by Perl core contributor Paul Evans promises to be very interesting, as it details what goes into developing and committing a new feature into Perl itself. Evans recently added the isa operator to Perl 5.32, and wi...
posted Jun 13 mjg 229 points
27 3 6 min.
Perl is said (sometimes frustratingly) to be a do-what-I-mean programming language. Many of its statements and constructions are designed to be forgiving or have analogies to natural languages. Still others are said to be “magic,...
posted Jun 13 mjg 229 points
21 2 1 min.
I’ll be presenting “Better Perl: Subroutine Signatures and Type Validation” (based on my earlier blog post) for Houston Perl Mongers on Thursday, February 11 at 6:00 PM Central US time.Check h...
posted Jun 13 mjg 229 points
18 2 0 min.
On the heels of my blog article and upcoming presentation comes Paul Evans’ call to de-experimentalize (is that a word?) subroutine signatures in Perl core. It’s been stable for over four years now, and the &...
posted Jun 13 mjg 229 points
18 1 1 min.
This proposal from Dan Book seems reasonable to me. A version 7 feature bundle that renders signatures non-experimental; removes the indirect, multidimensional, and bareword filehandle features; enables warning...
posted Jun 13 mjg 229 points
19 2 1 min.
Here they are from tonight’s presentation, typo-corrected and ready for review. Video to follow. It seemed like the time just flew by…MarkGardner-BetterPerlWithSubroutineSignaturesAndTypeValidation.pdfDownloadThe original ...
posted Jun 13 mjg 229 points
15 1 2 min.
Pretty soon after I started writing Perl in 1994, I noticed that it lacked a construct often found in other languages: the switch statement. Not to worry, though—you can achieve the same effect with a cascading series of if-elsif ...
posted Jun 13 mjg 229 points
7 1 4 min.
A microservice can be thought of as the distributed computing implementation of the Unix philosophy of “Do one thing and do it well.” Usually modeled around specific business domains, a well-designed set of microservices ea...
posted Jun 13 mjg 229 points
9 1 0 min.
I’ll be reprising my presentation on Perl subroutine signatures and type validation for the Boston Perl Mongers on Tuesday, March 9 at 7 PM EST. Visit their wiki for details; they’ll be posting the Jitsi URL shortly before ...
posted Jun 13 mjg 229 points
6 0 4 min.
We’ve all been there: Deep in the bowels of a program, trying to figure out why something’s not working right. Maybe a variable isn’t getting the right value. Maybe a function or method isn’t getting called or h...
posted Jun 13 mjg 229 points
6 1 8 min.
As a Perl developer, you’re probably aware of the language’s strengths as a text-processing language and how many computing tasks can be broken down into those types of tasks. You might not realize, though, that Perl is also a world-class...
posted Jun 13 mjg 229 points
3 0 0 min.
Video for Better Perl: Subroutine signatures and type validationVideo for my presentation to Houston Perl Mongers last month, based on this blog post. Slides are here. Sorry about all the “um“s and “ah“s....
posted Jun 13 mjg 229 points
7 0 1 min.
I’ll be joining Perl Maven’s Gábor Szabó for a live coding exercise via Zoom, working on a web application to keep track of exercises submitted by students in a training course. The first session is scheduled for M...
posted Jun 13 mjg 229 points