Perl 🐪 Weekly #743 – Writing Perl with LLMs

perl-weekly-#743-–-writing-perl-with-llms

Originally published at Perl Weekly 743

Hi there,

Last week I went to a small conference on “Teaching Computer Science in the era of AI/LLMs” hosted at The Academic College of Tel Aviv-Yaffo. It was very interesting to hear how at various institutions, for example at the Technion, at the Tel Aviv University and at Ben Gurion University the lecturers feel the need to change things as LLMs can now implement basically everything at the level of a CS student in a BSc program. How do you teach them to actually learn the syntax? How much should you let them use LLMs for the assignments and during the exams?

I personally teach a course at the Weizmann Institute of Science to Master’s and Phd students of Biology and Life Sciences. I think 15 years ago there was a course in Perl, but now this is in Python. It is very different from teaching CS students. My students use the language a lot more to write one-time programs to analyze some data and most of them don’t see themselves as ‘programmers’. So they are way less interested in syntax, or ‘good code’. They mostly want to get nice graphs.

It is quite clear that giving them well written assignments is rather pointless. They can just put the assignment in an LLM and get the result. So what can be done?

As the semester starts this coming Sunday I really need to figure out how and what to teach them. Should I basically teach them prompt engineering?

Related to this I’d love to hear from you – either in an email or better yet in a blog post – on how do you use LLMs to write code? Especially Perl code. Which LLMs do you use? How do you make your prompts better? Anything special to Perl code?

What would you recommend to fellow Perl developers, how to best use LLMs while writing Perl code?

I know we are all still trying to figure this out, but learning from each other could make this process easier.

Enjoy your week!


Your editor: Gabor Szabo.

Articles

The joy of rediscovering Perl

Wait a minute, Mr POSTman

Debugging POST request headers in under 40 screen rows. Doesn’t actually use Postman.

Clipadd Cookbook

clipadd, a CLI included in the App::ClipboardUtils distribution, lets you add items to the desktop clipboard. It is clipboard-manager-agnostic, supporting backends like xclip and Klipper. It also has some convenient features which will be demonstrated in this document.

Porting from Perl to Go: Simplifying for Platform Engineering

Rewriting a script for the Homebrew package manager taught me how Go’s design choices align with platform-ready tools.

Discussion

Full stack javascript developer looking to find a perl job

Compute the Reverse Polish Notation using Perl

Would you like to add comments to this post with your suggestions on how to improve the code?

Managing memory in the GPU with Perl

Task-MemManager-Device

perl XS modules for CUBIN files patching

Would love a good web hosting company to run Perl in a fcgi or plack or whatever

There are a number of companies where one can have a full VPS for 4-5 USD / month with root access. You can run your own code there directly on the VPS or you can run a Docker container on it and as the load on the system growth you can upgrade the VPS to something bigger for slightly more money. I have been using Linode and Digital Ocean for many years and I am very satisfied.

Perl

This week in PSC (204) | 2025-10-13

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.

The Weekly Challenge – 344

Welcome to a new week with a couple of fun tasks “Array Form Compute” and “Array Formation”. 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 – 343

Enjoy a quick recap of last week’s contributions by Team PWC dealing with the “Zero Friend” and “Champion Team” tasks in Perl and Raku. You will find plenty of solutions to keep you busy.

TWC343

Clear, effective, and showcasing strong Perl programming abilities. While Task 2 efficiently counts wins in a match matrix with clear logic and sensible hash usage, Task 1 demonstrates succinct numeric handling with strong absolute value comparisons. All things considered, the answers are clear, accurate, and elegantly demonstrate how to solve real-world problems using Perl.

Team Zero

For both inexperienced and seasoned Raku developers, this is a great resource. It explores the nuances of the language and offers insightful lessons in efficient coding techniques in addition to offering workable answers to typical issues.

Friendly Champions

These solutions demonstrate superior algorithmic thinking and Perl programming at the expert level. This submission is incredibly impressive because it combines mathematical insight, language proficiency, and innovative problem-solving.

Perl Weekly Challenge 343

The solutions demonstrate the useful application of PDL for array and matrix operations and are technically sound and reliable. They are great illustrations of algorithmic problem-solving in Perl since they are not only accurate but also optimized for readability and maintainability.

The Zero Champion

In addition to overcoming the obstacles, Matthias did so in a way that inspired and educated others. Programming challenges are valuable because of contributions like this one.

Ze-ro the CHAMPIONS!

In addition to accurately resolving the difficulties, Packy has produced a superb analysis of how to apply the same algorithm across various programming paradigms while honoring the idioms and advantages of each language.

No friends among the champions

Both solutions demonstrate a thorough grasp of Perl’s capabilities and are executed with clarity and efficiency. They make sure the code is both functional and maintainable by following best practices for coding.

The Weekly Challenge #343

Robbie’s solutions show a thorough comprehension of the problem requirements and the ability to apply efficient algorithms. They are both elegant and mathematically sound. His creative method of breaking the tie in Task 2 gives the solution an additional level of complexity.

Zero to Champion

Roger’s solutions exhibit a thorough comprehension of the problem requirements and are well-structured. The code is efficient and simple to understand because it makes use of Perl’s built-in functions and simple logic. These implementations are great illustrations of how to precisely and clearly approach algorithmic problems.

It’s hard to make friends when you’re a zero

The two challenges are thoughtfully and technically insightfully explored in Ryan’s post. His elegant and effective solutions demonstrate a thorough comprehension of Perl’s capabilities.

Absolute Champion

Simon’s solution shows a thorough grasp of Python’s capabilities and is both simple and effective. He makes sure the solution is reliable and capable of handling a variety of numerical inputs by utilizing the decimal module.

Weekly collections

NICEPERL’s lists

Great CPAN modules released last week;
MetaCPAN weekly report.

Events

Paris.pm monthly meeting

November 12, 2025

Toronto.pm – online – How SUSE is using Perl

December 6, 2025

Paris.pm monthly meeting

December 10, 2025

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.

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
quality,-manufacturing,-and-metrology:-the-backbone-of-modern-industry

Quality, Manufacturing, and Metrology: The Backbone of Modern Industry

Next Post
ai-email-subject-lines-that-drive-3x-more-revenue-and-actually-convert-[+-exclusive-insights]

AI email subject lines that drive 3x more revenue and actually convert [+ exclusive insights]

Related Posts