|
Perl Weekly
Issue #781 - 2026-07-13 - Logo for the Perl Weekly
latest | archive | edited by Gabor Szabo
|
|
Hi there!
A couple of days ago I asked ChatGPT to create a logo for the Perl Weekly. It had trouble putting exactly 7 onions on the image (for the 7 days of the week), but then the nice people who participated in the Perl Maven live session helped improving my prompt and we created a bunch of images. You can see them here. Let me know which one do you like the most.
At that session we also had 3 demos. Peter Liscovius showed us LM Studio, Dragos Trif showing ollama, an Gabor using GitHub copilot to generate tests. Watch the video here and if you are already on YouTube, click on the 'like' button as well.
Talking about AI, recently I saw a graph on LinkedIn showing that the top 1% spend over 7500 USD / month / employee on AI while the wast majority spends close to nothing. I think the origin of that graph is this article on TechCunch. It is scary and interesting to think what is and what will be our role in this new world.
My current guess is that I should further expand my role of connecting people and providing platforms where people can exchange ideas. For that if you have a LinkedIn account, connect with me there. For more Perl-related connections join our WhatsApp or Telegram groups. See my contact information.
Enjoy your week!
Gabor Szabo
|
|
|
Announcements
|
by Dave Cross (DAVECROSS)
I used to have hundreds of paperback tech-books. A few years ago I decided they collect too much dust and they become obsolete fast anyway, so I switched to Kindle. As the years passed I had to enlarge the fonts more and more thus the code examples started to wrap and became hard to read. Nowedays I am contemplating buying paperback books again. Apparently I am not alone with this. Enjoy the book!
|
|
|
Articles
|
by Dragos Trif
Detailed explanation on how to set it up.
|
|
by Nigel Horne (NHORNE)
GitHub Actions workflow generator and analyzer
|
|
|
|
by Yoshihiro Hasegawa
This is the third post in a series on Siunertaq, a small Scala 3 project that models computation as a stack machine and cross-validates it across languages.
|
|
|
|
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 "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.
|
|
|
by Mohammad Sajid Anwar (MANWAR)
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.
|
|
|
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.
|
|
by Arne Sommer
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.
|
|
|
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.
|
|
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.
|
|
by Luboš 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).
|
|
by W Luis Mochan
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.
|
|
|
by Matthias Muth
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.
|
|
by Packy Anderson (PACKY)
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.
|
|
|
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.
|
|
|
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.
|
|
by Simon Green (SGREEN)
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.
|
|
|
Videos
|
by Gabor Szabo (SZABGAB)
During the most recent Perl Maven online session we had 3 presentations. You can watch them all or you can jump right to the part that interests you the most. I would also like to see more people demonstrating their toolkit whether it is AI, an editor, and IDE, or anything else. You can join our next Perl Maven online session or, if the timing is not convenient for you, talk to me to figure out when can we have such an event.
|
|
|
Weekly collections
|
|
|
Events
|
|
|
|
|
|
|
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|