brian d foy
- Website: www.theperlreview.com
- About: I'm the author of Mastering Perl, and the co-author of Learning Perl (6th Edition), Intermediate Perl, Programming Perl (4th Edition) and Effective Perl Programming (2nd Edition).
Recent Actions
-
Commented on Signing CPAN Releases with SigStore
The main message should be that this is paralleling efforts in other repositories, such as npm and PyPl. No matter the wisdom of this particular technique, any approach is only really useful if the end user doesn't have to coordinate...
-
Commented on AI Contributions to CPAN: The Copyright Question
I've been goofing around with another angle. What do I do when I commit code that I asked something to generate and then merely direct its improvement rather than typing out code myself? For example, I was evaluating Claude Code,...
-
Commented on Quick and dirty string dumping
I use the dumper from Mojo::Util, which is Data::Dumper with better defaults. I even pull it out of the module and have it as a string to insert into programs where Mojo is not already around: sub dumper { state...
-
Commented on Shipping a Perl CLI as a single file with App::FatPacker
This is really good stuff. We're trying to change some of the PerlPowerTools over to fatpacked scripts to have some more flexibility since the hard requirement is single file, drop in scripts....
-
Commented on More dev.to articles on beautiful Perl features
Keep it up :) I've been posting each article in /r/perl on Reddit, but since they are published on dev.to, Reddit blocks them and special moderator assistance (which I can do myself) is required. No idea why dev.to is blocked,...
-
Commented on perlmodules.net is down for 1-2 weeks
I was looking for any notice of the API changes, because this would be important for me too. Do you have any pointers?...
-
Commented on Unicode: The Good, the Bad, and the (mostly) Ugly
You might have more luck with the talk's main title: "Unicode Support Shootout". Tom's Unicode talks were rescued and put on GitHub: tsibley/tchrist-OSCON2011-Unicode I rescued some of Tom's Unicode tools and have them in Unicode::Tussle (briandfoy/unicode-tussle) Also nice is his...
-
Commented on GitHub and the Perl License
Thanks for figuring this out. Sometimes I think not even GitHub knows how these things work. For myself, I just use the Artistic License instead of the dual license, although there are some modules I adopted and have kept whatever...
-
Commented on German Perl/Raku Workshop 2026 in Berlin - 16.03.2026-18.03.2026
I messed up in the Reddit post because I read the English which has the start date as May, but it's correct in the German (if March is the actual month, as in the title): The new link: https://www.reddit.com/r/perl/comments/1otqhxo/german_perlraku_workshop_2026_in_berlin/...
-
Commented on German Perl/Raku Workshop 2026 in Berlin - 16.03.2026-18.03.2026
I put this in /r/perl but fixed up the dates in the title for what was in the body....
-
Commented on Is it still worth adding installation instructions to a distribution?
I think it's still worth it, and it's not causing problems to include it. I have this in my READMEs. You can install this module with a CPAN client, which will resolve and install the dependencies: % cpan Tie::Cycle %...
-
Commented on A Quick Update on Dancer2 2.0.0
And you just gave a talk about it: Dancer 2.0!...
-
Commented on A pipe operator exists on perl v5.42?
As for the pipe operator part of this post, the arrow is not going to do that. A proper pipe operator would feed all of the values from the left hand side to the right hand argument list. The arrow...
-
Commented on A pipe operator exists on perl v5.42?
This is just normal Perl 5 behavior, although your need v5.16 or later for CORE. Here's a demonstration that we build up in [Intermediate Perl](https://www.intermediateperl.com/) (and as a gist where I might expand this). The problem is that the arrow...
-
Commented on MCE - How to?
There's also David Farrell's Make your code run faster with Perl's secret turbo module....
-
Commented on When Laziness Isn't
Crap, this submitted when I was trying to change something. I had an `alias` example right before the `u 14` line. $ alias u="perl -le 'system q(uuidgen) for 1..$$ARGV[0]'"...
-
Commented on When Laziness Isn't
Heh, that's pretty clever to get to some number of values. However, you didn't need the reference: $ perl -le "system q(uuidgen) for 1..5" 76666A86-7155-4EBF-9ED4-F2625DE3CE55 CA1A8D82-467A-4682-8F96-FA0BE0800676 40850CBF-1A41-4803-BE9C-BD87B548826E 08DD5AB6-EBEC-40E9-B4AB-817708A0A584 8BCC70B1-4430-45C6-AF72-5A839EAE6DD5 There can even be a parameter in there: $ u 14...
-
Commented on A deep dive into the Perl type systems
Crosslink to /r/perl...
-
Commented on Wide character (U+XXXX) in substitution (s///)
Oh heck, I copied the error above the one I wanted. You can see in the (W locale) that this is a locale error: Wide character (U+%X) in %s (W locale) While in a single-byte locale (i.e., a non-UTF-8 one),...
-
Commented on Wide character (U+XXXX) in substitution (s///)
If you replace use warnings; with use diagnostics;, you get the longer error messages from perldiag: (S utf8) Perl met a wide character (ordinal >255) when it wasn't expecting one. This warning is by default on for I/O (like print)....
-
Commented on London Perl & Raku Workshop 2024: Recordings & Thoughts
Thanks for the videos! I empathize with the complexity of video, and it's why I don't do video. Changing a small mistake takes so much time compared to editing a text file. One of the YouTubers I follow did a...
-
Commented on Weather::OWM released on CPAN
+1 for weather APIs!...
-
Commented on Let's add Git userdiff defaults for Perl and Perl 6
This is over a decade later, but git now has this in core with many more patterns. See userdiff.c (which you already linked to). You still have to associate the file endings with a the perl driver as you show....
-
Commented on Why does this not work
You're trying to get a hash value, but you are using parens instead of braces. You get: he's barney (barney). he's fred (fred). Change your code to use braces for the single element access to the hash: $fn{"fred"} = "flintstone";...
-
Commented on Carp::Object, an object-oriented replacement for Carp and Carp::Clan
Very cool! And, someone remembered something I wrote almost 20 years ago. :)...
-
Commented on System Thinking
If you want to post anything to /r/perl, know that Reddit has some sort of filter on dev.to. If you message the mods we can approve the link. No idea why this is a thing, but it is in other...
-
Commented on I just discovered Dev.to
Note that Reddit filters out dev.to links that people submit, so if you have problems with that in /r/perl, contact the mods....
-
Commented on ChatGPT for Perl Learning
Reading might not be how younger generations consume info, but that's not the problem here. It has nothing to do with age or place in time. People have always looked for shortcuts and for ways to avoid learning. New technology...
-
Commented on ChatGPT for Perl Learning
I don't think we've had a hard time pumping out docs and examples. The bibliography of Perl books, including The Perl Cookbook, is long. If someone wants to learn Perl, everything they need is in some book....
-
Commented on Ordering Your Tests
Test::Manifest uses this feature to take the test order from a separate file (t/test_manifest)...
Comment Threads
-
Timothy Legge commented on
Signing CPAN Releases with SigStore
Grinnz in addition, all cosign signatures are added to the append-only transparency log:
I grabbed the SHA256 from the CHECKSUMS file on cpan and queried:
https://search.sigstore.dev/?hash=9b8582e5ad8b56093bc1d6f59888333af3c3615f9dde989e5b56f6a1ad3b2627
It shows the entry for the release version 0.04 that I released earlier today.
So in addition to verifying the signature you can verify when it was added to the log.
-
Timothy Legge commented on
Signing CPAN Releases with SigStore
At present PAUSE has no way to validate that I am the timlegge@....com that uploaded those files.
PAUSE does have my "private email" which happens to be the one that I used so it could verify that the signature is from that email identity but it does not have a concept of identity provider.
-
Grinnz commented on
Signing CPAN Releases with SigStore
If PAUSE could provide (pardon the pun) an identity provider service that this could utilize, that seems like it would make a nice closed loop of trust. PAUSE mostly only gets significant overhauls at a PTS though :)
-
Ranguard commented on
Signing CPAN Releases with SigStore
Nice!
-
Dean commented on
Signing CPAN Releases with SigStore
This discussion seems healthy and there appears to be alot of alignment already.
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.