DEV Community

GΓ‘bor SzabΓ³
GΓ‘bor SzabΓ³

Posted on Edited on Originally published at perlweekly.com

Perl πŸͺ Weekly #799 - Programming (Perl) using AI?

Originally published at Perl Weekly 799

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!

--
Your editor: Gabor Szabo.

Articles

Thanksgiving release cleanout Redditby Max Maischein

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.

A Perl Helpdesk You Can Still Extend: OTOBO Packages on Open ITSM HubOTOBO, The Open Source Service Management Platform.

FOSDEM 2027 Call for Participation Redditby Theo van Hoesel

"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

The publication of the second edition of "Data Munging with Perl" just got a whole lot closer! Redditby Dave Cross LinkedIn

Let's Talk About the Pathologically Eclectic Rubbish Listerby Jean-Luc Martel

Perl::CodeMap Redditby Scott Muller

Scott writes: "I built a tool to visualize Perl codebases β€” Perl::CodeMap (now on CPAN)"


Grants

Maintaining Perl (Tony Cook) October 2026by Tony Cook

PEVANS Core Perl 5: Grant Report for October 2026by Paul Evans

Maintaining Perl 5 Core (Dave Mitchell): October 2026by Dave Mitchell


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 - 400by Mohammad Sajid Anwar LinkedIn

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.

RECAP - The Weekly Challenge - 399by Mohammad Sajid Anwar LinkedIn

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.

TWC399by 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.

Longest or Longestby Arne Sommer LinkedIn

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.

PWC 399by 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.

Perl Weekly Challenge: Week 399by Jaldhar H. Vyas LinkedIn

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.

Absolute Repetitionsby 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.

So many strings I was searching…by Packy Anderson LinkedIn

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.

Longest and longestby 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.

The Weekly Challenge #399by Robbie Hatley LinkedIn

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.

The Longest of Absolutesby Roger Bell West

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.

The longestby Simon Green LinkedIn

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

History of Perl RedditRandal L. Schwartz writes "Well-researched video gets nearly everything right!".

MCP - Model Context Protocol in Perl: From Web App to AI Toolsby Dave Cross LinkedIn


Weekly collections

NICEPERL's listsby Miguel Prz

Great CPAN modules released last week;
MetaCPAN weekly report;
StackOverflow Perl report.


Events

Punk: Perl MVC, compiled at boot by Robert Acock (LNATION)November 16, 2026

London Perl & Raku Workshop 2026November 21, 2026

YAPC::Tokyo 2026November 27, 2026

Everyday date and time handling in Perl with T by Eugen KonkovNovember 29, 2026

Breaking CPAN: Inside the PAUSE RCEDecember 3, 2026

Using LLMs as coding agents by Maximilian Maischein aka CorionDecember 6, 2026

Boston PM: JMAC - BumpySkies and IFTFDecmber 16, 2026

German Perl/Raku Workshop 2027April 14-16, 2027


You joined the Perl Weekly to get weekly e-mails about the Perl programming language and related topics.

Want to see more? See the archives of all the issues.

Not yet subscribed to the newsletter? Join us free of charge!

(C) Copyright Gabor Szabo
The articles are copyright the respective authors.

Top comments (0)