r/perl • • 4d ago

📅 advent calendar 2026 Perl Advent Megathread

15 Upvotes

r/perl • • Nov 02 '26

Perl events in November, December and beyond

21 Upvotes

r/perl • • 3h ago

Delivering packages for Christmas with Container::Builder

Thumbnail
perladvent.org
5 Upvotes

r/perl • • 8h ago

(dcxxix) 21 great CPAN modules released last week

Thumbnail niceperl.blogspot.com
4 Upvotes

r/perl • • 22h ago

Planet Perl is moving

28 Upvotes

I'm probably going to get rid of "theplanetarium.org" next year. The only planet people visit is Planet Perl. So I've pre-emptively moved it to https://planet.perlhacks.com/. You'll be redirected from the old address for at least six months. But you might want to update any bookmarks.


r/perl • • 14h ago

The first application of the BoardStreams library

5 Upvotes

BoardStreams was first introduced in 2021 as an easy way to use WebSockets on Mojolicious websites to get real-time updates and have shared experiences with other players and users. Developing it was also the reason I created RxPerl. Unfortunately the code of BoardStreams was pure mess, spaghetti, and I couldn't be sure it would work well, so I recently let Claude code it again for me, and now it looks good and mature and very tested under every condition. The repo contains JavaScript and Perl BoardStreams clients which connect to a Perl BoardStreams server that takes the form of a Mojolicious plugin.

What I then created with BoardStreams is a portal (talkspot.org), trying to make it look like Yahoo! of the early 2000's, with games and groups, and real-time updates everywhere.

Where the Perl BoardStreams client comes into play, is that different sites running this portal software can communicate with each other, to share forum threads and play cross-server games, so real-time communication between Perl servers is needed too.

I'd love it if you tried it and maybe let me a comment on what can be improved or added.


r/perl • • 1d ago

📅 advent calendar Pixie's Little Helpers

Thumbnail
perladvent.org
6 Upvotes

r/perl • • 1d ago

📅 advent calendar Wrapping Presents at Compile Time

Thumbnail
perladvent.org
8 Upvotes

r/perl • • 2d ago

question What are your thoughts or criticisms about how perl and core modules are packaged by distributions?

20 Upvotes

I was previously writing a utility using only sh and coreutils, thinking this is the best way for it to work on most systems out of the box, and it was true for the most part, until i came across systems that were missing some utilities.

The tool had already gone beyond my opinion of too complex where it started to make sense to do it in a proper language. I installed a bunch of virtual machines and came to realize that Perl is available everywhere, even on systems where Python wasn't available out of the box, and decided Perl is the way to go. It also helps that it's fast and elegant.

I was under the impression that if I simply stick to the standard library (core modules), this is sufficient for wide compatibility. I've since learned that RHEL 7, 8, 9, etc. don't install core modules as a dependency of the perl package, and I think other distributions also do the same. FindBin, File::Copy, Time::HiRes, are all installed separately.

This feels bizarre to me. If one were to install something like python, Go, etc., the standard library packages are dependencies, so they all install together even if they are separate packages. So, I'm not sure why they don't treat Perl the same way. Fedora eventually made a policy change where the perl package would install the core modules, but this hasn't made it to RHEL even now. I don't even know yet about Debian, Arch, etc.

So now I'm in a situation where I have to write instructions for my users on how to install the required required packages in order to run the tool. Not the end of the world, but it's so annoying having to do that even though I'm only using core modules. So now I'll have to print a warning and implement a fallback method so my tool still works.

So, I'm wondering what this community thinks about how distributions split up perl and its core modules into separate packages, and then make some of those modules optional.


r/perl • • 2d ago

Online optimisation race next month: stock perl, no XS, timed only against a naive Perl version

14 Upvotes

I run Hackathon Raptors, a small UK nonprofit, and we're running Speed Demon II from 29 Jan to 1 Feb. It's an optimisation race in 26 slow languages, and Perl is one of them: stock perl, no XS or C modules, so the speed has to come from the Perl itself.

Four tasks:

  • crunch 310k web log lines into request counts and p50/p95/p99 latency per endpoint and hour
  • index 25k documents and answer 5k Boolean and phrase queries
  • join a nasty CSV (quoted commas, embedded newlines, BOMs) against 200k regions
  • shortest paths on a 500k-edge graph

Each entry is timed against a naive version in the same language, so Perl only races Perl. Three of the four tracks are text parsing, so I'd expect Perl to do well. There's also an Underdog prize for the fastest car built only in the 10 slowest languages, and Perl is on that list.

Free to enter, teams of 1 to 4, $2,000 in prizes: https://speeddemon.dev/2027/

What the race looks like: https://speeddemon.dev/2027/img/r-bridge-1920.jpg

Happy to answer rule questions here.


r/perl • • 3d ago

question Is perl more complicated to parse than other languages, or is that exaggerated?

36 Upvotes

Tools like semgrep, ast-grep, CodeQL, etc. do not support Perl, and I'm wondering if there is something particularly difficult about parsing Perl compared to other languages.


r/perl • • 3d ago

📅 advent calendar PerlAdvent 2026: Over a Year of The Underbar

Thumbnail
perladvent.org
12 Upvotes

r/perl • • 4d ago

📅 advent calendar PerlAdvent 2026: Welcome Back

Thumbnail
perladvent.org
43 Upvotes

r/perl • • 4d ago

Perl Net::FTP PASV handling lets a server choose the client's next connection

Thumbnail
dev.to
7 Upvotes

r/perl • • 5d ago

Faster edit distance - Text::EditDistance::DamerauLevenshtein

Thumbnail blogs.perl.org
21 Upvotes

r/perl • • 5d ago

Perl Weekly Issue #801 - Call for online topics and speakers

Thumbnail
perlweekly.com
7 Upvotes

r/perl • • 5d ago

Build a Hijri Months CLI in Perl 5 with Only Core Modules (HTTP::Tiny + JSON::PP, 24h Cache, 9 Languages)

Thumbnail
dev.to
8 Upvotes

r/perl • • 5d ago

[video] Everyday date and time handling in Perl with T - Eugen Konkov

Thumbnail
youtube.com
5 Upvotes

The page with link and notes. List of perl related past and future online events.


r/perl • • 5d ago

Perl - PAUSE Upload / CPAN Indexing

12 Upvotes

Looking for some guidance here because I recently submitted something to PAUSE for the first time and am not clear what the next steps are. Would anyone be willing to discuss what's next with me?

I got email responses that the file was uploaded and CPAN Testers would report results (it said within an hour, but it was close ish to the Thanksgiving holiday in the US, so I figured it would not be that quick.)

It's very possible I missed some steps.


r/perl • • 7d ago

(dcxxviii) 18 great CPAN modules released last week

Thumbnail niceperl.blogspot.com
7 Upvotes

r/perl • • 8d ago

question What do you use besides perlcritic, perltidy, and perlimports to make your code consistent/nice?

17 Upvotes

r/perl • • 8d ago

Shipping Agent Stuff

Thumbnail
olafalders.com
6 Upvotes

r/perl • • 9d ago

One Korean title, three different lengths: testing Unicode keys in Perl

Thumbnail blogs.perl.org
15 Upvotes

r/perl • • 10d ago

Adventures in CPAN Distribution Installation: Hare We Go Again, Down the Rabbit Hole

Thumbnail blog.tbcdevelopmentgroup.com
13 Upvotes