|
Perl Weekly
Issue #799 - 2026-11-16 - Programming (Perl) using AI?
latest | archive | edited by Gabor Szabo
|
|
Hi there!
Check the events at the end of the newsletter or on our web site. We are going to have an online event in a few hours, the London Perl Workshop in a few days, and YAPC::Tokyo next weekend. You can still get to either one of these!
As you might remember every semester I teach a course to Life Science Master's and Phd student at the Weizmann Institute in Rehovot, Israel. It started out as a "Python programming course". In the recent semesters it was renamed to "Programming in Python using AI", but I am considering renaming it again. In the most recent assignment, just after 3 sessions in which we spent most of the time learning about git and GitHub, one of the students created a web-based game. In JavaScript. He did not even realize it was written in JavaScript and ran strictly in the browsers.
This makes me think that for such people really the programming language does not matter at all. They need to learn about the capabilities of 'front end' and 'back end' and how to solve various problems they have. They need to learn about security, so they won't open their computer for attacks and don't leave around API keys and access token in public GitHub repositories, etc. They don't get a lot of value out of knowing the syntax of the language. On one hand they are not expected or planning to build a production-grade system, on the other hand it is so easy to build and deploy a web application on a VPS that they will certainly do it that open new cans of worms.
This means they will have to learn about system administration or "DevOps" as people often call it these days. All that while what they are really interested in is manipulating DNA.
Things certainly are moving fast
I love tinkering with syntax, and we can keep doing it by ourselves, but I think if we would like to make Perl more useful in this era we need to think on how to make it easy for AI tools to use Perl and use Perl-based solutions.
Related to this I'd like to recommend you to watch the presentation Dave Cross gave recently: MCP - Model Context Protocol in Perl: From Web App to AI Tools.
Enjoy your week!
Gabor Szabo
|
|
|
Articles
|
by Max Maischein (CORION)
Twice a year, around Thanksgiving and Spring, Corion takes stock of all the code that has amassed on his systems. He tries to release it on CPAN, or publish it on GitHub, if not as a way of giving back to the community then at least as another off-site backup. This time: String::FuzzyMatch, AppTemplate-Perl-Mojolicious, Linux-ARPTable, App-CaptureAgenda, Protocol::Samsung::MDC.
|
|
OTOBO, The Open Source Service Management Platform.
|
|
by Theo van Hoesel (VANHOESEL)
"We are happy to announce that there will be a Perl and Raku Devroom at FOSDEM 2027. We would like to invite you to submit a presentation about your favorite Perl or Raku topic." Call closes on: November 27th 2026. FOSDEM dates: Saturday January 30th - Sunday January 31st, 2027
|
|
|
|
|
|
by Scott Muller (MULLER)
Scott writes: "I built a tool to visualize Perl codebases — Perl::CodeMap (now on CPAN)"
|
|
Grants
|
|
|
|
|
|
|
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 "Largest Interval" and "Minimum Genetic Mutation". 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 "Longest Repeating Character" and "Longest Absolute Path" tasks in Perl and Raku. You will find plenty of solutions to keep you busy.
|
|
|
by Ali Moradi
Ali's post provides a succinct and idiomatic Perl solution to The Weekly Challenge #399. The implementations are short, productive, and have undergone rigorous testing with modules like Test::More.
|
|
by Arne Sommer
In his post, Arne demonstrates an elegant solution to The Weekly Challenge #399 and incorporates features such as sliding window character counting and directory path parsing. The code is well written, easy to read, and well-tested, with verbose output modes.
|
|
|
by Bob Lied
Bob's post contains a great and short Perl solution for The Weekly Challenge #399. He has mixed idiomatic string manipulation functions with elegant logic methods.
|
|
|
by Jaldhar H. Vyas
Jaldhar has created a comprehensive guide for The Weekly Challenge #399 in both Raku and Perl. As part of his post, he goes through the concepts behind sliding window algorithms and directory parsing.
|
|
by Jorg Sommrey
Jorg's blog entry provides a remarkable solution to The Weekly Challenge #399, tackling both problems in Perl and the programming language J. What distinguishes this blog entry is its in-depth coverage of J's array combinators, paired with clean and modular implementations in Perl.
|
|
by Packy Anderson (PACKY)
Packy shares a captivating article regarding The Weekly Challenge #399, demonstrating various approaches for solving the problem using Raku, Perl, Python, and Elixir. The article includes some entertaining references to music, such as the song Long Long Long by George Harrison, and some interesting detailed breakdowns of the recursive sliding and shifting approaches taken to complete the repeated characters task.
|
|
|
by Peter Campbell Smith
The article by Peter provides straightforward and practical Perl implementation for solving The Weekly Challenge #399. The implemented algorithm is based on a simple forward-and-backward scanning approach towards finding the longest repeating character substring.
|
|
|
by Robbie Hatley
Post by Robbie is about The Weekly Challenge #399, which presents simple solutions using Perl programming and musical selections like The Long And Winding Road and For The Longest Time. He gives good explanation of the steps which can be used to solve Tasks 1 and 2 in the peculiar way: check for the number of substrings in a list of words in Task 1 and track until which directory the user has gone in Task 2.
|
|
by Roger Bell West (FIREDRAKE)
Roger's blog entry provides a simple yet practical explanation for The Weekly Challenge #399 in which he explains the implementation of the depth-first search solution in Python for the problem of repeating characters in Python and a solution based on Perl for calculating the length of a path based on stack arithmetic.
|
|
by Simon Green (SGREEN)
In a blog post, Simon provides neat solutions in two programming languages for The Weekly Challenge #399, starting with Python and then translated into Perl. The article presents a frequency-counter sliding method for solving the problem of repeating a character and a straightforward reconstruction path using regular expressions for the directory traversal problem.
|
|
|
Videos
|
Randal L. Schwartz writes "Well-researched video gets nearly everything right!".
|
|
|
|
Weekly collections
|
|
|
Events
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|