Issue #497 - 2021-02-01 - was hijacked

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


The big news of the week is that was hijacked. According to what I have read the solution seem to be already on its way to recover the domain. If you are using a host for your CPAN mirror you should use instead (See this post.) You can also find the content of on Ask brian d foy ( for further details. (See also on Reddit.)

I'd like to thank all the people who answered my call 2 weeks ago and started to support Manwar. He went from 21 to 30 patrons. Let's do another round of this! If you have been reading the Perl weekly and would like to show you appretiation to Mohammad who is the most prolific co-editor of the newsletter, then the easiest way to do so is to sign up to his Patreon account and buy him a coffee every month.

In other news Perl 5.34 will be released in May.

Finally, remember, I've opened the Code Maven school where I already have 4 Perl courses, 3 Python courses besides the Go, Docker, and Git courses. Check them out and let me know what you are missing from there.

Enjoy your week!

Gabor Szabo


Optimize GitHub Actions for Perl

If you use GitHub Actions for your CI/CD you know it doesn't treat Perl as a first class citizen. This tutorial-style post can help you learn how to deploy a prebuilt Perl environment into GitHub Actions, simplifying and speeding up your CI/CD.

Announcements hijacked

The domain was hijacked. Work is underway to attempt to recover the domain to Tom Christiansen, the rightful registrant. If you're looking for the content, you can visit which is a temporary host. report and discuss and also on Hacker news.

Dancer2 0.300005 Released

by Jason A. Crome (CROMEDOME)

A bunch of small new features, enhancements, and bug fixes. The announcement even mentions my little contribution, setting up GitHub Actions for Continuous Integration.

Release 1.50 of perl-workflow

by Jonas Brømsø Nielsen

Workflow - A Simple, flexible system to implement workflows. Written in Perl.


Better Perl with subroutine signatures and type validation

by Mark Gardner

Though they are still marked as 'experimental', function signatures have been around for more than 6 years now! To comment visit the copy of the article or reddit

The Trouble with Reference Counting

by David Farrell (DFARRELL)

Perl uses a simple form of garbage collection (GC) called reference counting. Every variable created by a Perl program has a refcnt associated with it. If the program creates a reference to the variable, Perl increments its refcnt. Whenever Perl exits a block it reclaims any variables that belong to the block scope. If any are references, their referenced values' refcnt are either decremented or they're reclaimed as well if no other references to them remain.


Perl - mockgen helper perl script

by Takahiro Kudo

A simple wrapper script, but IMHO even in such simple scripts it would be better to include the safety boilerplate. If for no other reason then to have better copy-paste templates for other people.

The corner of Flavio Poletti

AoC 2016/19 - Halving Josephus

by Flavio Poletti (POLETTIX)

Realizing the folly of their present-exchange rules, the Elves agree to instead steal presents from the Elf directly across the circle. If two Elves are across the circle, the one on the left (from the perspective of the stealer) is stolen from. The other rules remain unchanged: Elves with no presents are removed from the circle entirely, and the other elves move in slightly to keep the circle evenly spaced.

AoC 2016/19 - Dynamic Josephus

by Flavio Poletti (POLETTIX)

I was very happy to get past puzzle 19 from the 2016 edition of Advent of Code, but let's admit two facts: I didn't demonstrate that the heuristic is actually a rule; This wouldn't help in some other general case.

Permutations with Heap's Algorithm

by Flavio Poletti (POLETTIX)

All permutations over N objects can be generated by Heap's Algorithm.

Iterator-based implementation of Permutations

by Flavio Poletti (POLETTIX)

An iterator-based implementation of Permutations with Heap's Algorithm. You saw it coming.

AoC 2016/24 - Brute-force for a Traveling-Salesman-like problem

by Flavio Poletti (POLETTIX)

On with Advent of Code puzzle 24 from 2016: a brute-force approach to a problem similar to the Traveling Salesman Problem.


The Weekly Challenge

The Weekly Challenge by Mohammad Anwar will help you step out of your comfort zone. You can even win prize money of a $50 Amazon voucher by participating in the weekly challenge. We pick one winner at the end of the month from all the contributors during that month. The monthly prize is kindly sponsored by Peter Sergeant of PerlCareers.

The Weekly Challenge - 098

by Mohammad Sajid Anwar (MANWAR)

Welcome a new week with a couple of fun tasks "Read N-characters" and "Search Insert Position". If you are new to the weekly challenge then why not join us and have fun every week. For more information, please read FAQ page.

RECAP - The Weekly Challenge - 097

by Mohammad Sajid Anwar (MANWAR)

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

Perl Weekly Challenge 97

by Aaron Smith

Aaron's blog is the best source for Raku magic.

Perl Weekly Challenge 097

by Adam Russell

Adam made use of a bitwisw operator to solve the binary substrings task. You don't want to miss it.

Perl Weekly Challenge 97: Ceasar Cipher

by Abigail

Abigail not only sharing Perl solutions but many more. Highly Recommended.

Perl Weekly Challenge 97: Binary Substrings

by Abigail

Cool solution to the Binary substrings task. Must read.

Caesarean Substrings with Raku and Perl

by Arne Sommer

Arne also used a bitwise operator to solve the binary substrings task. He also shared Perl solutions.

Et tu Brute? Mit dem Ausflippen?

by Colin Crain

Colin is testing our German in his blog post. A very enjoyable read, highly recommended.

Binary Substrings and Caesar ciphers: Perl Weekly Challenge 97

by Dave Jacoby (JACOBY)

Dave made use of Levenshtein Distance to deal with the binary substrings task.

Perl weekly challenge 97

by James Smith

James's one liner for Caesar Cipher task is impressive. Even the binary substrings solution is very clever.

PWC097 - Caesar Cipher

by Flavio Poletti (POLETTIX)

Flavio is not scared of an eval-based solution. Must Read.

PWC097 - Binary Substrings

by Flavio Poletti (POLETTIX)

Flavio kept the binary substrings solution simple using just a for loop.

Perl Weekly Challenge 097

by Lance Wicks (LANCEW)

Lance is back after short break with a blog post promoting TDD. Must Read.

Perl Weekly Challenge 97: Caesar Cipher and Binary Substrings

by Laurent Rosenfeld

Laurent's blog is, as always, full of magic - whether it is Perl or Raku.

Perl Weekly Challenge 97: flipping and swapping

by Luca Ferrari

Luca kept the Caesar Cipher task simple and easy to follow.

Perl Weekly Challenge 97: Caesar Substrings

by Roger Bell West (FIREDRAKE)

Roger built a hash map for Caesar Cipher task. His olution to the binary substrings task is very clever too.

Weekly Challenge 097

by Simon Green

Simon made the tasks look simple by breaking them into smaller tasks.

Perl Weekly Challenge 97

by W Luis Mochan

Luis shared solutions with examples which is always handy.

Perl Tutorial

A section for newbies and for people who need some refreshing of their Perl knowledge. If you have questions or suggestions about the articles, let me know and I'll try to make the necessary changes. The included articles are from the Perl Maven Tutorial and are part of the Perl Maven eBook.

How to replace a column in a CSV file using Perl

by Gabor Szabo (SZABGAB)

It is quite simple using Test::CSV, but if your file is simple you can also solve this by using split and join.


2020 Predictions Reviewed

by Dave Rolsky (DROLSKY)

It might not be as interesting as predicticng the Coronavirus or as volatile as US politics, but I'd love to see your predictions for Perl 7, Raku, Go, and Rust. I had some other, more political ideas, but I think I'll leave them out now.

Weekly collections

The corner of Gabor

A couple of entries sneaked in by Gabor.

Perl Courses

by Gabor Szabo (SZABGAB)

There are currently 4 Perl courses you can get one-by-one, all of them in a single bundle using a one-time payment or a monthly subscription.

What to do now?

by Gabor Szabo (SZABGAB)

Just trying to figure out priorities.


Purdue Perl Mongers - HackLafayette

Wednesday, February 10, 2021

Berlin Perl Mongers

Wednesday, February 24, 2021

Toronto Perl Mongers Online Meeting

Thursday, February 25, 2021

German Perl Workshop 2021

It will take place online between March 24-26 2021. The private ticket will be cheaper (EUR 30). People who register in time and transfer the participation fee, will get exclusive extras.

Perl Jobs by Perl Careers

Mad Men (and women) of London. Perl in London

The leader in premium native advertising for technology, financial services, and corporate and lifestyle sectors, our client is the power behind the advertising throne for over 200 websites, including Forbes, Wall Street Journal, CNN Business, and The Washington Post. This dynamic team is looking for a senior Perl programmer with a strong understanding of Go.

Guten Tag, Senior Perl Developers! Perl role in South Germany

Bricks-and-mortar malls may be passé but having a real-time office to come to when the pandemic ends is a major perk. While work for this client is currently 100% remote, their main office is in St. Ingbert, Germany with a satellite office in Munich. The ideal candidate should be confident using Modern Perl, in particular happy with DBIx::Class and Moose/Moo.

That’s a Big Sandbox! Perl role in London

The client is interested in anyone with experience building web apps in Perl, using one of the major Perl frameworks. If you’re a crack-hand with Catalyst, a Mojolicious master, or a distinguished Dance, they want you. If you’ve got mad Perl skills and a hankering to mine the sandbox of data waiting for you, grab your shovel and pail and drop us an email!

Big Dividends, Bigger Opportunity! Perl role with multiple location options

Leisure travel might be on hiatus, but if wanderlust has you eager to be somewhere else, why not consider working in a new country? Perl developers, pack your bags: your next big adventure awaits. Our client is looking for Perl developers who are comfortable with Moose and PSGI/Plack, and have a solid grounding in using Perl’s testing tools.

Grow Your Karma with a Job that Does Good! Perl role in Australia

Not all jobs are created equal. Sure, most pay the bills, but some do more. They impart a sense of purpose; when you log out at day’s end, it’s with the satisfaction that you are part of something bigger, something more important than yourself. You’ve left the world a little better than you found it, and isn’t that what life is really about?

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