|
Perl Weekly
Issue #783 - 2026-07-27 - Switching to Luma
latest | archive | edited by Gabor Szabo
|
|
Hi there!
Those who followed the events I have organized in the last couple of months have already used the new, Luma-based Perl Maven calendar. During the weekend I started to move all of my online events to Luma. It provides a number of advantages over Meetup. For example I can split the channels (calendars) without paying extra. So now, besides the Perl Maven calendar I also have one for Rust, one for Python and one for Git / GitHub / GitLab. I even have one called Code Maven in which I combine all the events from my other channels. Check out the events I've already scheduled and start to follow the calendars that interest you!
One of the long-time readers was wondering, how to submit an article to the Perl Weekly. First of all, I'd recommend you to have an RSS feed and to include it in the planetarium. That will bring you more readers. We will also have a better chance finding your article. In addition you can send us an email to editors@perlweekly.com. It will reach both of us.
A bunch of lightning talks were published from TPRC - The Perl and Raku Conference - Greenville, SC 2026. See them below
Enjoy your week!
Gabor Szabo
|
|
|
Articles
|
by Rob Lauer
While this article talks about the new features of Python, it includes excellent pointers to existing features of Perl. My personal issue is echoed in the final assessment of the article. Python developers used to make fun of the Perl motto TIMTOWDI, and I used to say that There is more than one way to do it, one of them is Python. However, nowadays there are a zillion ways to do everything in Python.
|
|
by Dave Cross (DAVECROSS)
I only remember server-side PerlScript, but then again, I don't remember what I had for breakfast either. In any case, cute explanation of what could have been an alternate reality.
|
|
|
|
|
Discussion
|
|
|
|
|
|
|
by Nigel Horne (NHORNE)
The application software that scans source code and automatically generates tests for it.
|
|
Perl
|
|
|
The Weekly Challenge
The Weekly Challenge by Mohammad Sajid Anwar will help you step out of your comfort-zone. You can even win prize money of $50 by participating in the weekly challenge. We pick one champion at the end of the month from among all of the contributors during the month, thanks to the sponsor Marc Perry.
|
by Mohammad Sajid Anwar (MANWAR)
Welcome to a new week with a couple of fun tasks "Base N" and "Special Binary Substrings". If you are new to the weekly challenge then why not join us and have fun every week. For more information, please read the FAQ.
|
|
|
by Mohammad Sajid Anwar (MANWAR)
Enjoy a quick recap of last week's contributions by Team PWC dealing with the "Similar List" and "Nearest RGB" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Adam Russell
A well-composed, straightforward, and detailed Perl solutions have been discussed in this blog post. The use of literate programming in making the program more interesting and easier to understand is very much helpful, while the simple process of rounding RGB values provides reliable color mapping method.
|
|
|
by Ali Moradi
In this post Ali presents an elegant and efficient solution in Perl to the Weekly Challenge using built-in solutions and regular expressions, as well as unit tests. The implementation is concise and easily readable, and demonstrates an effective test practice using Test::More.
|
|
by Arne Sommer
The article shows how easy it is to use Raku’s built-in expressiveness and functional capabilities to manipulate color coordinates. The step-by-step approach provides just the right amount of detail while remaining easy to understand, showcasing Raku’s impressive abilities of sequence generation, filtering, and data structures handling.
|
|
|
by Jaldhar H. Vyas
Jaldhar analyses Challenge 383 thoroughly, stating the need for both Raku and Perl to solve list-mapping as well as color-distance problems cleanly through programming logic. He shows the differences between the language features of Raku (like the use of .words, .comb) and the equivalent constructs in Perl like grep and sprintf.
|
|
by Jorg Sommrey
In this article, mathematical rigor is avant-garde, taking care to settle all theoretical issues related to the characteristics of similarity relations before discussing the practical details. Obtaining elegant parallel solutions in J and Perl, this article illustrates the general ideas, such as J's "under" conjunction and mathematical quantisation formulas, to produce a surprisingly clean and expressive code.
|
|
by W Luis Mochan
The work of Luis Mochán on Challenge 383 is a perfect example of modern Perl expertise as far as complicated matching and transformation logic is concerned compressed into innovative and compact programs. He shows that Task 1 is a pristine equivalence-class lookup implementation via the normal utility functions, while Task 2 utilises clever boundary-mapping based on List::Util::first and regex digit-grouping for the relative mapping of a hex number to the closest web-safe color.
|
|
|
by Matthias Muth
In the write-up by Matthias, there is a fascinating display of some of the modern features of Perl such as subroutine signatures, experimental built-ins, and multi-variable looping, and List::Util::mesh is being used to achieve an elegant solution to Task 1. The way Task 2 is approached is no less impressive since it employs a clever mathematical trick for web-safe intervals and utilises unpacking/packing in a unique way that is truly a fine art of working with low-level data.
|
|
by Packy Anderson (PACKY)
A multi-lingual guide is available in this article solving the challenge in a beautifully detailed manner in Perl, Python, Raku, and Elixir. By showing the different idioms and paradigms in each of these languages which are applied to the same problem, Packy makes a very useful comparison between the languages, while at the same time ensuring that the implementations remain clear, robust and less prone to bugs.
|
|
|
by Peter Campbell Smith
This blog discusses thoughtfully the analysis of the problem by reviewing edge cases and stating assumptions of the problem before writing the code. The created Perl solution is considered original as it involves custom delimiters for string normalisation, in addition to that it features properly organised output.
|
|
|
by Reinier Maliepaard
This article presents a great and systematic solution of the problem and demonstrates a clear way of performing element by element list comparison and word map look-up. The code is straightforward, easy to follow and it successfully utilises idioms of the language to deal with the task in the least complicated way.
|
|
by Robbie Hatley
The article offers an uncomplicated and pragmatic explanation of answers for both Weekly Challenge assignments in Perl. The approach is user-friendly and organised in a proper way, which makes use of specific hash maps for similarity checks and special subroutines to clearly cut the snapping values to the nearest safe color channel.
|
|
by Roger Bell West (FIREDRAKE)
In this article, readers will find an insightful dissection of the problem in many languages, featuring real-life solutions in PostScript, Rust, and Raku. Roger explains the technological issues specific to each language like the use of fallback dictionaries in PostScript, and clean bitwise channel extraction using Raku.
|
|
by Simon Green (SGREEN)
In this article, one can discover logical algorithmic solutions using Python and Perl, which rely on good problem-solving. Two main points are discussed here to clarify some points such as discrepancy in length, limitations regarding direction when processing reckoning for web-safe colors, etc.
|
|
|
Lightning Talks
|
|
|
|
|
|
|
|
|
|
|
Weekly collections
|
|
|
Events
|
|
|
|
|
|
|
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|