|
Perl Weekly
Issue #785 - 2026-08-10 - Async, Type-Safe, and Secure: Perl's Answer to FastAPI
latest | archive | edited by Gabor Szabo
|
|
Hi there!
I am extremely pleased to let you know that Mohammad Sajid Anwar, the other editor of the Perl Weekly (among many other things) agreed to give an online presentation titled Async, Type-Safe, and Secure: Perl's Answer to FastAPI. It is still a few weeks from now, but there are already more than 30 people registered to the event. Way more than any of my previous events. Register now and use the opportunity to follow the Perl Maven calendar.
Let me use this opportunity to also send a call for speakers. I am looking at you! Do you work on a Perl-based project? A CPAN module? Give us a presentation. Do a workshop. You provide the content, I provide the organization. Talk to me!
Event organization goes beyond Perl. I have started to update the Code Maven live site where I am listing all the future and past online events. From there you can locate the videos of the earlier event and can find and register to the planned ones.
Issue Hunting: I use The Perl Planetarium a lot. Last week I wanted to show it as a nice example of the use of GitHub Actions generated GitHub Pages. However, when I visited the site I could not find the link to the repository. It seems like a caching issue on my computer or at my ISP, but I would love to ask you to check it yourself and report you findings. I've opened an issue showing both the broken and the good version. Please comment on that issue telling us if you can see the links or if they are missing for you too. (Please also include how and from where you are accessing the site.)
Enjoy your week!
Gabor Szabo
|
|
|
Articles
|
Apparently Tsoding is a person.
|
|
|
|
by Vijay Vinoth
It is a bit annoying that the author writes PERL, but it is a Shibboleth so we know he does not know. I did not say a word about it. The lack of code-highlighting and code-formatting makes it difficult to read - I commented on this. Would you want to give some other constructive(!) suggestions?
|
|
|
|
by Giuseppe Di Terlizzi
If you work anywhere near vulnerability management, you've run into the CVSS problem: a single severity number that tells you almost nothing about what to actually do. SSVC takes a different approach.
|
|
by Robert Acock (LNATION)
Punk is web framework that does a lot of computation at startup and then it is (supposed to be) much faster. It also means that errors move to boot time so you find out about them sooner. It is a clear win.
|
|
by Scott Baker (BAKERSCOT)
Scott just released a simple object caching module that uses SQLite as the backend. If you need easy caching check it out!
|
|
|
|
by Emmanuel Thouraud
Video recordings of the live presentation.
|
|
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 "Reverse Base" and "Rational Numbers". 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 "Uncommon Words" and "Outermost Parentheses" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Ali Moradi
The present article provides an overview of simple yet effective solutions using Perl programming language for weekly programming challenges. In the solution for problem number one, Ali uses clean hash operations to track word occurrences in the first assignment, while in task number two depth-based inline mapping is applied with the help of the Test::More assertions.
|
|
by Arne Sommer
This article offers a comprehensive and idiomatic Raku answer to both challenges of The Weekly Challenge #385. Arne skillfully applies native features of Raku, he uses the Bag construct to efficiently solve Task 1 using a functional pipeline, and an effective gather/take block with encouraged verification for performing primitive decomposition in Task 2.
|
|
|
by Jaldhar H. Vyas
In his article, Jaldhar gives a unique two-language explanation for Perl Weekly Challenge #385, written both in Perl and Raku. The post is remarkable, as it utilises Raku's inherent class of Bag Hash type and simulates it in modern Perl (v5.40+) by working with new class syntax. Jaldhar also provides a neat algorithm to solve the program's second task, which requires depth-tracking parentheses decomposition.
|
|
by Jorg Sommrey
Jorg sharing a very succinct multi-lingual solution for Perl Weekly Challenge #385 written in both Perl and J programming languages. The solution is technically advanced with the inclusion of functional list processing using List::MoreUtils::singleton in Task 1 and masterful regex/ matching solution of Task 2.
|
|
by W Luis Mochan
W. Luis Mochán excels in Perl programming, offering simple one-liner/two-liner as well as comprehensive, production-ready modules for achieving both. His work on Task 2: Outermost Parentheses is particularly impressive, as it develops from a clever depth-tracking map/grep process, inspired by Schwartzian transform, to a very robust parser that can process edge cases by using Text::Balanced::extract_bracketed.
|
|
|
by Matthias Muth
The submission made by Matthias is seen as something remarkable in terms of the proficiency level demonstrated with Perl together with the high level of code efficiency provided. His performance with respect to Task 2 deserves special attention and appreciation because of the intelligence used because recursion is employed through the usage of regular expressions in one stroke written in a way that looks perfect.
|
|
by Packy Anderson (PACKY)
This entry from Packy provides a captivating and detailed technical analysis of Perl Weekly Challenge 385 using Raku, Perl, Python, and Elixir. The quality of writing is unquestionable and is shown in employing Raku’s Bag data type and the use of the List::MoreUtils::frequency Perl module to create a highly effective way of filtering the word frequencies in Task 1. He skillfully explains all programs written in the four languages.
|
|
|
by Peter Campbell Smith
Peter gives a very simple yet practical solution for Task 1 of The Weekly Challenge 385 that just takes applying regex iteration (m|([a-z]+)|g) in mere 10 lines of code to obtain word frequencies. The beauty of this implementation is in simple coding approach taken, like converting input to lowercase using lc() for case-insensitive matching and handling empty outputs smoothly with defaults.
|
|
|
by Reinier Maliepaard
Reinier provides a cleanly-designed solution to The Weekly Challenge 385 while staying true to his usual style of making his code readable and simple to follow. He is known for creating solutions that are straightforward and elegantly written.
|
|
by Robbie Hatley
Robbie presents a brief and effective article on both assignments for The Weekly Challenge #385. He seems to make the effective use of both problem understanding and computing solutions effectively by applying hashes for counting of words in his task "Uncommon Words" and using integers for nesting count in "Outermost Parentheses."
|
|
by Roger Bell West (FIREDRAKE)
Roger gives an outline of the assignments included in The Weekly Challenge #385 in multiple languages, exhibiting his technical competence in Perl, Rust, and PostScript languages. For Task 1: Uncommon Words, he utilises a two-pass method which filters out words that exist only once without changing the order in which they are provided. His state machine approach of tracking depth in Task 2: Outermost Parentheses works as a neat and efficient way to parse nested brackets.
|
|
by Simon Green (SGREEN)
Simon demonstrates effective and idiomatic uses of both Python and Perl, demonstrating certain contrasts in language features, for example the use of Python’s collections.Counter, together with functional chain pipelines (like sort, map, and grep) in Perl. His approach for Task 2: Outermost Parentheses stands out, since it combines means of error handling and input validation (like checking of character sets, tracking depth in general terms, and raising ValueError in case of brackets not being balanced).
|
|
|
Weekly collections
|
|
|
Events
|
|
|
|
|
|
|
|
|
|
|
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|