Perl Weekly
Issue #737 - 2025-09-08 - Perl oneliners
latest | archive | edited by Gabor Szabo
|
Hi there!
There is a new episode of Underbar, the Perlish podcast, part 3 of the Vibe-coding with Perl series came out, and there is an article whether one should learn Perl in 2025.
Regarding that. My son became a programmer a while ago mostly writing in Python and some fron-end stuff when necessary. He also knows how to use vim and he is definitely not lost on the Linux command-line. I don't think there is a lot of value for him to learn Perl in general, but being able to write one-liner to help with various small tasks could be really usefule. So I started to put together a bunch of oneliners in Perl and converted it into a book. It is still only in its infancy, but to go with the tradition I decided to release early.
Thus you can already read it for free or if you'd like to also support my efforts then you can buy an epub/pdf version of it via Leanpub. You can even pick the price.
Enjoy the book and enjoy your week!
Gabor Szabo
|
|
|
Podcast
|
by Philippe Bruhat (BOOK)
BooK wrote: I've just published the latest episode of The Underbar. This time we're having a long conversation with Salve Nilsen about the Cyber Resilience Act and it consequences for Perl and CPAN.
|
|
|
Articles
|
by Thomas Klausner (DOMM)
Thomas wrote: This week Farhad and me finally found some time to improve a part of our build pipeline that was nagging me for years. We can now release our DarkPAN modules via CI/CD into a GitLab generic packages repository and install them from there into our app containers, also via CI/CD pipelines.
|
|
|
|
by Christos Argyropoulos
VelociPerl is a closed source fork of Perl that claims performance gains of 45% over the stock.
|
|
|
|
|
Discussion
|
|
|
|
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 Lance Wicks.
|
by Mohammad Sajid Anwar (MANWAR)
Welcome to a new week with a couple of fun tasks "Highest Row" and "Max Distance". 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 "Smaller Than Current" and "Odd Matrix" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Ali Moradi
This is a solid, practical and highly efficient blog post that showcases a competitive programming mindset. The approach is characterized by a focus on performance, concise code and leveraging the powerful built-in functions of Perl.
|
|
by Arne Sommer
This is a high-quality, technically sound blog post that perfectly exemplifies the spirit of Raku programming. It successfully demonstrates how to tackle a classic algorithmic problem (Eulerian Circuits) by leveraging Raku's unique and powerful features, such as its sophisticated grammar (regex) engine and functional programming constructs.
|
|
by Dave Jacoby (JACOBY)
This post is a well-written, technically sound and engaging exploration of two weekly code challenges in Perl. Overall, it's a solid contribution that balances clarity, correctness and style.
|
|
|
by Jorg Sommrey
Both tasks move beyond naive solutions to offer significantly more scalable alternatives. The use of sorting, indexing, and run-length encoding reflects expert-level proficiency in PDL. Despite the technical depth, the code remains compact and well-organized.
|
|
by W Luis Mochan
Solutions are elegant, efficient (thanks to PDL), and provide precise results. They shine when used in a context where PDL is acceptable.
|
|
by Matthias Muth
Both tasks avoid brute-force solutions in favor of counting, sorting, and parity logic. Code is concise, modern, and idiomatic Perl. Commentary is pedagogical, explains not only the "how" but also the "why".
|
|
by Packy Anderson (PACKY)
This is an exceptionally well-written and insightful post. It successfully transcends a simple "how I solved these coding puzzles" write-up and instead delivers a compelling narrative about the enduring relevance of Perl, the value of community-driven challenges and the universal benefits of sharpening one's problem-solving skills with constrained tools.
|
|
by Peter Campbell Smith
Solutions are clear, idiomatic Perl, well explained and great for educational/demo purposes. They emphasize readability and correctness over raw efficiency, which is often the right trade-off in The Weekly Challenge.
|
|
by Robbie Hatley
The solutions are excellent. They are correct, efficient, readable and well-structured. The post has a clear, pragmatic coding style that focuses on simplicity and directly solving the problem at hand. The code is thoroughly documented and follows good practices. This is production-quality code for this type of algorithmic problem.
|
|
by Roger Bell West (FIREDRAKE)
The post is a masterclass in technical writing and scientific computing. It successfully transforms a seemingly simple programming challenge into a deep, insightful exploration of numerical methods and performance optimization.
|
|
by Simon Green
This is a well-written, engaging and technically sound solution to a coding challenge. It stands out by focusing on clarity, educational value and algorithmic elegance rather than just brute-forcing an answer.
|
|
Weekly collections
|
|
Events
|
|
|
|
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|