Issue #788 - 2026-08-31 - LPW 2026

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

Hi there,

The most awaited event, London Perl and Raku Workshop is happening on 21st November 2026. It is free one-day event held by the community. I would request you all to register if you are planning to attend the event. This will help the LPW Organisers to better plan the event. If this is your first time attending LPW then I would encourage you to submit as well. There is another exciting announcement, YAPC::Tokyo 2026 is hapenning between 27th - 29th November 2026. There is a surprise, Larry Wall, is one of the speakers listed by the organisers. I wish he would join us, LPW, too.

Talking about events, there is one more planned for next Monday, 7th September 2026. It is an online event organised by Gabor Szabo. There is still time to register if you are available. I will be presenting the talk, Async, Type-Safe, and Secure: Perl's Answer to FastAPI. It is about my latest CPAN module, PAGI::FastAPI. Both PAGI and FastAPI is new to me. PAGI::FastAPI helped me explore both. Thanks John Napiorkowski for the guidance and support. I wrote a blog post yesterday where I shared the latest update of PAGI::FastAPI v1.7.0.

As the LPW 2026 is announced, I am back to finish the manuscript for my upcoming book on DBIx::Class. I hope to have it ready to launch at the LPW 2026. Please wish me luck.

Enjoy rest of the newsletter.

Mohammad Sajid Anwar


Announcements

Announcing the London Perl & Raku Workshop 2026

Run by volunteers from the London Perl & Raku community, LPW will have talks about Perl, Raku, and other languages, technologies, and topics.

YAPC::Tokyo 2026

YAPC::Tokyo 2026 is a technical conference organized by the Japan Perl Association, marking its 10th anniversary.

PerlOnJava 5.44.1 released

by Flávio Glock (FGLOCK) LinkedIn

PerlOnJava 5.44.1 is released. This is a big milestone, with the regex implementation, ithreads, taint mode, and async/await now complete.


Articles

PAGI: What happens to a Send in Flight?

by John Napiorkowski (JJNAPIORK) LinkedIn

John the contract of connection management in PAGI. The article explains how both send and receive futures can be resolved without exceptions when the client has disconnected thus avoiding the complexity of manual exception handling and allowing for predictable and consistent transition states.

PAGI::Server 0.002007: One Contract, Two Transports

by John Napiorkowski (JJNAPIORK) LinkedIn

A full explanation of the conformance pass has been provided by John Napiorkowski, aimed at making transport protocols invisible to applications. The release bounds the scope of event validation to an unconditional validation of events at all outgoing paths, harmonises flow-control mechanisms, and defines a uniform token for indicating the reason for disconnection to provide complete reliability for error messages.

Template::Stencil - A Fast Template Engine

by Robert Acock (LNATION)

Using Template::Stencil, a template is parsed once into packed bytecode in a single memory arena, and rendered by a threaded C interpreter that writes straight into an SV-backed buffer. I don't think any other template engine does this.

CPerl mode for Emacs is now on GNU ELPA

by haj

For all emacs users, CPerl is now available on

pperl: Doing a REJIT

by Richard C. Jelinek LinkedIn

Introducing ReJIT, a secondary compiler designed to bridge the performance gap with V8’s Irregexp on regex-intensive benchmarks like regex-redux.

API Gateway using PAGI::FastAPI

by Mohammad Sajid Anwar (MANWAR) LinkedIn

Part of short post series on PAGI::FastAPI, this post talk about how we can create and use API Gateway with the help of PAGI::FastAPI.

Message Queue using PAGI::FastAPI

by Mohammad Sajid Anwar (MANWAR) LinkedIn

This post helps you create message queue facade, a very simple easy to follow demo application using PAGI::FastAPI.

Webhook using PAGI::FastAPI

by Mohammad Sajid Anwar (MANWAR) LinkedIn

One of my favourite features, Webhook. You cam work with Webhook using PAGI::FastAPI.

Bloom Filter

by Mohammad Sajid Anwar (MANWAR) LinkedIn

My attempt to explore Bloom filter. In this post, I share my experiment.

PAGI::FastAPI v1.7.0

by Mohammad Sajid Anwar (MANWAR) LinkedIn

This post is all about the latest features added to v1.7.0. Of all, you can now expose per-route OpenAPI Metadata.


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 - 389

by Mohammad Sajid Anwar (MANWAR) LinkedIn

Welcome to a new week with a couple of fun tasks "Reorder Notes" and "ZigZag Subarray". 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 - 388

by Mohammad Sajid Anwar (MANWAR) LinkedIn

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

TWC388

by Ali Moradi

The blog by Ali presents straightforward and practical approaches to both assignments. For example, to solve Dyck Words, it builds a stack state machine to avoid overhead while traveling through the recursion of the algorithm. A memoized recursion is also used for generating cleanly the results for the Secret Santa derangements without producing huge permutations.

Secret Dyck

by Arne Sommer LinkedIn

In this blog post, Arne provides an excellent description of various complicated concepts like replacement of recursion by using a queue state-machine in the case of Dyck words, as well as offers detailed explanations of the code with thorough testing output.

I Refuse to Indulge in the Obvious Jokes

by Bob Lied

Bob's article showcases an elegant and effective way of solving the Dyck Words problem recursively in the Perl programming language. By keeping a careful watch on several parameters, such as depth, number of remaining characters, and prefixes used in the solution, the program generates correct sequences in a simple and efficient manner while maintaining clear code.

Perl Weekly Challenge: Week 388

by Jaldhar H. Vyas LinkedIn

The blog by Jaldhar provides a detailed rundown of the execution of both of the exercises in Raku and Perl. He shows how one can apply recursive depth-first search approach to generate Dyck words and how to utilise the advanced features of Raku language—like .permutations(), the Z== zip operator, and junctions—to succinctly write declarative array-matching code in the Secret Santa derangements case.

Secret Words

by Jorg Sommrey

In this interesting article, Jorg provides a thorough math-heavy analysis of Perl Weekly Challenge #388. The post contains a great dose of engineering thinking since it shows how to reach an 8-times speedup through optimising the code, what is the Dyck prefix generation benchmarking, and also cleverly applying the floor formula for computing the Secret Santa derangements in Perl and J.

Perl Weekly Challenge 388

by W Luis Mochan LinkedIn

W. Luis Mochan's post features a clear and concise Perl implementation for Challenge 388. He utilizes idiomatic Perl techniques while employing functional pipelines such as grep and map, in addition to recursion, in order to efficiently tackle both Dyck words and derangements.

Dyck Santa

by Matthias Muth LinkedIn

Matthias gives a neat and clear account of both algorithmic tasks in providing the sounding mathematical context. In the case of the first approach, he makes use of constrained recursive state tracking for the generation of Dyck words which lets him get rid of invalid paths at the early stage. Having thus approached the above task, he does not stop there and goes further using the recursive/DP method of solving the problem with derangements which excludes the time-consuming permutations generation.

Code of Many Colors

by Packy Anderson (PACKY) LinkedIn

Packy’s article presents an interesting and insightful analysis of the Dyck word generation problem and Secret Santa derangement in Perl, Raku, Python, and Elixir. The value of the article lies in his straightforward approach in Task 1, where he shows the use of inductive structural decomposition (splitting and enveloping sub-words) in the process of generating correct Dyck word sequences and at the same time avoiding faulty paths in all programming languages used.

Up and down the chimney

by Peter Campbell Smith

The article by Peter provides a clear and practical explanation of the process of generating Dyck words using depth-first recursive backtracking techniques. He explains how effective he was in switching from an ineffective brute force method to a selective tree-search algorithm that monitors the number of symbols on an ongoing basis.

The Weekly Challenge #388

by Robbie Hatley LinkedIn

The blog by Robbie showcases the efficacious use of the integer binary encoding method for the purpose of generating Dyck words as well as CPAN modules. The article describes how nicely he thought of generating candidate numbers in binary form as that enabled him to produce Dyck words in order without having to perform additional sorting.

Secret Dyck

by Roger Bell West (FIREDRAKE)

Roger takes an elegant multilingual approach to the Weekly Challenge 388, combining pragmatic graph traversal techniques with clear math. For Task 1, he utilises a breadth-first search (BFS) queue that eliminates invalid Dyck word branches early, while he uses techniques from pattern matching in languages such as Scala and Typst to calculate derangements through the OEIS A000166 recurrence relation.

Secret Words

by Simon Green (SGREEN) LinkedIn

Simon presents a clear, easily understandable answer to Challenge 388 by utilising a combination of language-specific primitives and an explicit algorithmic solution. His method of counting word frequencies with hash mappings also maintains an intuitive set intersection process, making it quick and effective to implement in Perl and Python.


Rakudo

2026.34 YAR by Coke

by Elizabeth Mattijsen (ELIZABETH) LinkedIn


Weekly collections

Events

Amsterdam PM bijeenkomst

September 01, 2026

Amsterdam PM bijeenkomst

October 06, 2026

YAPC::Tokyo 2026

November 27, 2026

German Perl/Raku Workshop 2027

April 14-16, 2027



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 X RSS Feed of the Perl Weekly. Updated once a week