r/perl • u/briandfoy • 3h ago
Delivering packages for Christmas with Container::Builder
r/perl • u/szabgab • Nov 02 '26
r/perl • u/briandfoy • 3h ago
r/perl • u/niceperl • 8h ago
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.
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 • u/briandfoy • 1d ago
r/perl • u/birdsintheskies • 2d ago
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 • u/Sensitive-Training22 • 2d ago
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:
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 • u/birdsintheskies • 3d ago
r/perl • u/briandfoy • 3d ago
r/perl • u/briandfoy • 4d ago
r/perl • u/briandfoy • 4d ago
r/perl • u/Itcharlie • 5d ago
The page with link and notes. List of perl related past and future online events.
r/perl • u/Omnideth • 5d ago
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 • u/niceperl • 7d ago
r/perl • u/birdsintheskies • 8d ago
r/perl • u/briandfoy • 9d ago