|
Perl Weekly
Issue #787 - 2026-08-24 - Perl Maven
latest | archive | edited by Gabor Szabo
|
|
Hi there
You might recall that several years ago I started to post my Perl-related content on the Perl Maven web site. It was pretty successful at that time. Since then the interest in Perl declined quite a bit and with that also the number of articles I post. However, I kept using the same name and now I we have the Perl Maven online events. That page is listing both the planned events and the video recordings from the previous events.
I also try to be present in some other platforms, such as Facebook and LinkedIn. These days I use them mostly to promote the online events. If you are using either of those platforms, I'd like to invite you to follow the respective pages and to help promoting the events there. You, know, by clicking on the 'like' button and by sharing the posts. You'd be surprised, but every 'like' and every re-share has a huge impact on the visibility of these events.
Looking at the content of this edition I am quite surprised. We have a lot of content. Excellent!
Enjoy your week!
Gabor Szabo
|
|
|
Announcements
|
|
|
|
|
|
|
Articles
|
|
|
by Andrew Speer (ASPEER)
WebDyne is another web framework. I don't recall every seeing it despite it being on CPAN for 16 year at least. Go check it out and let the author (and us) know what do you think!
|
|
by John Napiorkowski (JJNAPIORK)
PAGI - Perl Asynchronous Gateway Interface is a specification for asynchronous Perl web applications, designed as a spiritual successor to PSGI. It defines a standard interface between async-capable Perl web servers, frameworks, and applications, supporting HTTP/1.1, WebSocket, and Server-Sent Events (SSE).
|
|
|
by Saif Uddin Ahmed (SAIFTYNET)
GLAM hopes to be a simple abstraction of complex interactive graphics. The initial commit is tested to replicate the rope demo in a previous reddit post. A single line of code chooses the backend graphical layer, the rest of the code is identical for both the graphical output and the interactivity.
|
|
|
by Dave Cross (DAVECROSS)
It's heartwarming seeing one of my articles having an impact. In a nutshell Dave shows how you too could easily build a web site for your CPAN module or modules.
|
|
|
Discussion
|
A long investigation into a bug that might or might not be in the Perl core.
|
|
Data::Printer Like Data::Dumper, but coloured output, and summaries [config option] large data structures. But uses either a lot of, or no vertical space. Dump::Krumo , is better in some ways, but doesn't summarise output, and uses a lot of vertical space.
|
|
The author is looking for a (Newtonian) physics library, to support a (2D) game. Something where you simple define an array of objects (position, travel, mass, spin, shape, etc), and then step through time with them - as they attract each other, bounce off of each other and/or fly off into infinity.
|
|
by Will Willis
Apparently Perlmonks has not been working for quite some time now.
|
|
|
|
|
|
Grants
|
by Paul Evans (PEVANS)
July was mostly spent finishing off a commercial contract to get Magic-v2 and value magic in, so I didn't have much time for other perl-related matters.
|
|
|
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 "Dyck Words" and "Secret Santa". 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 "Rearrange Binary String" and "Atoms Count" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Ali Moradi
The post published by Ali is a great short instance of the power of Perl regex. The approaches used in this post show how to solve the tasks in a clean and idiomatic way with the help of regular expressions, the /e and /g modifiers in only a few lines of code, supported by extensive unit tests.
|
|
by Arne Sommer
Arne’s post is absolutely captivating and easy-to-understand tutorial. It devotes enough attention to logical thinking behind solving problems using Raku language while analysing the code line by line and presenting several valuable coding cases that imply stack parsing and string manipulation.
|
|
|
by Jaldhar H. Vyas
This article offers an impressively straightforward answer, showing excellent problem-solving techniques pertaining to manipulating strings and parsing chemical formulas. Jaldhar's concise, idiomatic Perl and Raku programming achieves a good balance between readability and efficiency, making even complex edge case handling and recursive parsing seem simple. All in all, it is a great technical guide for today's Perl/Raku developers.
|
|
by Jorg Sommrey
This article provides an excellent technical understanding of Perl Weekly Challenge 387. The best part is the parser created for Task 2, which uses a recursive, non-backtracking regex with code hooks and a unique stack frame, enabling it to count atoms in just one pass. With all this, it is amazing that it is clarified the use of pure Perl solutions, and examples of implementations outside of Perl in J language for this task as well.
|
|
by W Luis Mochan
The current post gives an excellent demonstration of Perl's power with the help of a smart one-liner regular expression replacement in Task 1, thus effectively performing parallel string substitutions. As for Task 2, it provides a solid parsing solution based on Text::Balanced and recursive subroutines allowing one to deal with different levels of nested chemical multipliers in a clean, idiomatic way.
|
|
|
by Packy Anderson (PACKY)
This blog illustrates a very simple way of learning how to do successfully Perl Weekly Challenge 387, which stands out by being multi-language related. Packy compares the implementations of several different programming languages, including Perl, Raku, Python and Elixir, pointing out that each language has its own particular method of working with regex and data structures recursively. The entertaining writing style makes it very easy and possible to read about how to process workflows of such complicated tasks as chemical formula analysis.
|
|
|
by Peter Campbell Smith
The post presents a brief but informative study of Perl Weekly Challenge 387, emphasising the use of brevity in idiomatic Perl. It discusses an quality one-liner, which implements a global regex substitution in a while loop to accomplish the job of counting steps with the least amount of overhead possible.
|
|
|
by Robbie Hatley
This article presents a simple, functionally effective set of solutions for Perl Weekly Challenge 387 while also focusing on approaches ensuring clarity in coding and functional design. Robbie uses global substitution coupled with breaking down difficult problems in steps for calculating the number of steps required to complete a problem and separating subroutines in cases of the block expansion and frequency counting with hashes. The article provides links to fully tested implementations and execution screenshots, which makes it a very well-structured and easy to follow article for the purposes of Perl programming.
|
|
by Roger Bell West (FIREDRAKE)
This blog post offers straightforward, pragmatic solutions to two algorithmic challenges, examining various choices of design and features of programming languages. On the technical side, it compares a high-level regex implementation in Crystal with the implementation of string manipulation in Rust using character-wise processing, coupled with illustrating a clean stack-based parser in Perl for efficient processing of nested groups of multipliers.
|
|
by Simon Green (SGREEN)
Here is a simple yet elegant review of the process of performing weekly coding challenges using coding languages such as Python and Perl. The technical aspect of the article that really stands out is the use of regex-based modifications to successfully parse chemical formulas. It is a short yet well-explained piece that covers many aspects of the idiomatic design of the scripts and implementation in both programming languages.
|
|
|
Weekly collections
|
|
|
Events
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|