Issue #779 - 2026-06-29 - LinkedIn and the Perl Weekly

latest | archive | edited by Gabor Szabo
This edition was made possible by the supporters of our cause.
Don't miss the next issue!

Hi there!

In the 15 years since the Perl Weekly was first published we included posts from more than 800 authors. For 114 of them we have their LinkedIn profile, for 264 we have their PAUSE id, and for 200 we have a picture. I would love to get your help finding more. You can see the full list of authors. The source is in the `src/authors.json` file in our repository. Please help us locate more information about our authors. Send a PR or send me an email with links to the profiles of the authors.

Enjoy your week!

Gabor Szabo


Announcements

PAGI Distribution split on CPAN

by John Napiorkowski (JJNAPIORK) LinkedIn

The news: PAGI is now three CPAN distributions instead of one. PAGI-Server — the reference server; PAGI-Tools — the application toolkit; PAGI — the specification;


Articles

Perl PAGI Middleware

by John Napiorkowski (JJNAPIORK) LinkedIn

A port of the sample app from What Is Middleware? - which builds the same three-layer stack in Plack/PSGI (Perl) and Starlette/ASGI (Python) - to PAGI, an async, ASGI-style application interface for Perl.

What Was Matt Thinking?

The high schooler who developed everyone’s forums and guestbooks in 1996 didn’t really think about security when he was building all that software. But Matt’s Script Archive was more than exploits.

GTC 2.20 Pro designer

by Herbert Breunung (LICHTKIND)

GTC 2.20 brings a huge amount of new features again (described in this post) and is starting an additional, more trimmed down, high level API, geared more toward what designers expect. But it also comes with new documentation and error handling, the two most important things that were missing for a professional distribution.

Choosing the Right Database Abstraction Reddit

by Dave Cross (DAVECROSS) LinkedIn

Dave writes: 'A question came up recently in the Perl community asking whether, in a Mojolicious application, it’s better to use DBIx::Class or a Mojolicious-specific module like Mojo::Pg. It's an interesting question, but I think it's asking the wrong thing.'

DBIx::QuickORM - Alternative to DBIx::Class/DBIO Reddit

by Chad Granum (EXODIST) LinkedIn

Chad writes: 'This weekend at the perl and raku conference I did a presentation on how to move forward from the current state of DBIx::Class and its lack of new development. We discussed several options including an alternative I have been writing. I have never liked DBIx::Class, so I tried to write something that felt more intuitive to how my brain works. It was suggested that I post it here.'

Introducing constant::string and constant::string::uc

by James Wright (JWRIGHT)

James writes: 'If you're like me, you use a constant a lot (I may overuse it). I often use it to turn typos in words and fields into compile-time errors, and for that I usually create constants that either are the named the same as the word, or the word uppercased.'


Discussion

DBIO - A DBIx::Class replacement

by brian d foy (BDFOY)

DBIO - Native relational mapping for Perl, built on DBI


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.

The Weekly Challenge - 380

by Mohammad Sajid Anwar (MANWAR) LinkedIn

Welcome to a new week with a couple of fun tasks "Sum of Frequencies" and "Reverse Degree". 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.

RECAP - The Weekly Challenge - 379

by Mohammad Sajid Anwar (MANWAR) LinkedIn

Enjoy a quick recap of last week's contributions by Team PWC dealing with the "Reverse String" and "Armstrong Number" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.

TWC379

by Ali Moradi

The Blog Post by Ali provides a highly efficient and minimalist way of coding in Perl by offering solutions to the problem set of The Weekly Challenge #379. Ali uses a brilliant chop loop to reverse a string and a concisely written higher-order grep block to determine Armstrong numbers in the given base. This shows that Perl can be written very compactly but also in an extremely expressive manner.

Armstring or Strong

by Arne Sommer LinkedIn

Arne has given us a great example of Raku's toolkit through the Weekly Challenge 379. He uses many of the Raku methods (comb, pop, base, etc.) to write very concise and effective code for both reversing a string and finding base-specific Armstrong numbers. If you want your Raku skillset to grow in terms of both abilities and syntax style, you should definitely read this.

Perl Weekly Challenge: Week 379

by Jaldhar H. Vyas

This post does an excellent job of illustrating how the relationship between Perl and Raku has changed over time, and uses that to illustrate how these two languages handle identical logic with different syntaxes. It uses examples of how Perl uses the classic, reliable Perl syntax and how Raku provides its own modern, built-in methods of extracting a digit from a number with the modern feature of converting between bases instead.

There Is More Than One Way To Power

by Jorg Sommrey

This article contains a clear, consistent format outlining all parts of the challenge as well showing ingenuity in using both the Perl and J languages. The examples of different ways to reverse a string with both in-place reversal and use of PDL slicing techniques, along with the compact implementation of variable-base Armstrong numbers using a functional programming paradigm, highlight the insights and education obtained by polyglot developers from this article.

The Weekly Challenge 379

by Lubos Kolouch

Lubos writing style contains excellent quality, idiomatic code and brief, easily-understood explanations of the different ways to break down difficult logical or enough to solve complicated mathematical problems, so they are accessible to all (even to those with no programming experience).

Perl Weekly Challenge 379

by W Luis Mochan LinkedIn

W. Luis Mochan has demonstrated his expertise by providing concise code that uses very little coding space. He created very efficient single and double lines of code (Perl) for each of the weekly challenge entry solutions. The way he approached Armstrong Numbers with a dynamic array that uses rolling bases, rather than normal division to calculate base conversion points, is astoundingly creative, instructional and well documented.

Just Do It Yourself!

by Matthias Muth LinkedIn

The professional quality of Matthias's solution to the Perl Weekly Challenge is evidenced by the exceptional level of detail. Clearly, the README describes both the underlying logic as well as the algorithms used. The actual code is very idiomatic, clean and well-structured. This represents an excellent example of good software engineering practices and is a great resource for the community to learn from.

I see strings reversed… sum numbers, too…

by Packy Anderson (PACKY) LinkedIn

Packy provides some ways to think about how to tackle the Perl Weekly Challenge. His approach is well-organised and very interesting. What stands out most is how much time he spends comparing Perl, Raku, Python and Elixir implementations to help the reader understand their differences. The way he explains each solution with examples is very effective, and it provides an excellent way for programmers looking to improve their skills with strings and scripts.

Reversing and curious numbers

by Peter Campbell Smith

Peter puts a high value on creating code that uses clear, easy-to-read, well-maintained, and easy-to-write code rather than using complicated, convoluted, and multifaceted configurations. This makes the blog post very accessible to all levels of developers. It contains additional detail, educational material, and information in the public domain that should be of use to the developer community. There are also multiple edge cases addressed in this blog, and a comprehensive analysis of the data will make it very easy for the reader to follow through the examples provided.

Reverse Armstrong

by Roger Bell West (FIREDRAKE)

This blog covers Perl Weekly Challenge 379's solutions for string manipulation and narcissistic numbers in several different languages. Here, Roger, compares implementations of the same problem in Perl, Lua, PostScript, and Rust, illustrating how they each offer different approaches to performance optimisation and memory allocation. Overall, this approach allows him to provide great practical insight to readers on how the languages differ in these two areas.

Work it

by Simon Green (SGREEN) LinkedIn

This post presents an extremely entertaining and informative dual-language analysis of Weekly Challenge #379, as well as an entertainingly framed musical presentation. In addition, the juxtaposition of the neatness of the Python loop construct with the traditional method of manipulating strings in Perl helps provide clear, easy-to-follow solutions to challenging technical questions, particularly when dealing with the conversion of multiple digit bases for Armstrong Numbers.


Weekly collections

Events


You know, you could get the Perl Weekly right in your mailbox. Every Week.
Free of charge!

Just ONE e-mail each Monday. Easy to unsubscribe. No spam. Your e-mail address is safe.
Perl Weekly on Twitter RSS Feed of the Perl Weekly. Updated once a week