Remember PerlScript? When Internet Explorer Could Run Perl

Perl and Internet Explorer

Every now and then I’m reminded of a technology from the early days of the web and wonder if I imagined it. This week, it was Mohammad using WebAssembly to run Perl in his browser. Which led to me thinking about PerlScript. If you’re a certain age, and you spent any time developing web applications […]

Perl School Goes Paperback

Design Patterns in Modern Perl

Back in 2020 I gave a pretty definitive statement of my position on physical books. When brian d foy interviewed me for perl.com, I said, among other things: “I do like a real book. But they take up too much space, so I’ve pretty much completely stopped buying them over the last five years.” That […]

How One Pull Request Took App::HTTPThis to Version 1.0

I *heart* http_this

Back in January I wrote about App::HTTPThis, the tiny web server I seem to reach for whenever I need to share the contents of a directory over HTTP. It’s a deliberately simple tool, wrapping Plack::App::DirectoryIndex in a command-line interface that gets out of your way. This week, thanks to a blog post from Olaf Alders, […]

Choosing the Right Database Abstraction

Choosing a database abstraction

A question came up recently in the Perl community asking whether, in a Mojolicious application, it’s better to use DBIx::Class or a Mojolicious-specific module like Mojo::Pg. It’s an interesting question, but I think it’s asking the wrong thing. I’ve spent almost forty years moving up the stack of database abstractions. Every few years, someone invents […]

Public Identifiers, UUIDs and a Tiny SEO Fix

The titles (and URLs) of Prince William over time

Public Identifiers, UUIDs and a Tiny SEO Fix A recent question from my friend and colleague Mohammad got me thinking about the way we identify data in web applications. While working on the DBIC component of a REST API, he came across the term enumeration attack. In this type of attack, an attacker systematically guesses […]