Nicholas Hubbard

Nicholas Hubbard @nicholasbhubbard

Joined:
Aug 3, 2022

Nicholas Hubbard
articles - 13 total

How I used a named pipe to save memory and prevent crashes (in Perl)

I recently ran into an interesting bug in my Slackware package manager sbozyp. In this post I will...

Learn More 8 0Jan 15

4 More Unrelated Perl Tidbits

Last year I wrote an article titled 4 Unrelated Perl Tidbits, where I talked about some random Perl...

Learn More 2 1Apr 11 '23

An Interesting Perl Pattern That Doesn't Work

I recently came up with a pattern that is supposed to use a closure to protect a configuration hash...

Learn More 3 3Mar 23 '23

Use Dist::Zilla to Create a Perl Distribution

Dist::Zilla (dzil) is a program for creating Perl distributions. While the documentation for dzil is...

Learn More 11 0Oct 23 '22

How I use Yabsm to Manage my Btrfs Snapshots

YABSM IS DEPRECATED. CONSIDER USING ALTERNATIVES SUCH AS BTRBK OR SNAPPER. I am the author of Yabsm...

Learn More 1 0Oct 6 '22

Create a Lock File in Perl with File::Temp

A lock can serve many purposes in regards to avoiding race conditions. In this article we will...

Learn More 5 0Sep 29 '22

Named Subroutine Arguments in Perl

Naming your subroutine arguments has benefits around increasing the readability of your code. Lets...

Learn More 9 0Sep 22 '22

Create a Daemon in Perl with Schedule::Cron

A daemon is a program that runs in the background for an indefinite period of time. An important...

Learn More 8 0Sep 8 '22

Perl Project Management with App::plx

App::plx (Plx) is a tool for configuring per-project Perl development environments. Plx has good...

Learn More 14 0Sep 3 '22

How I use Emacs to write Perl

This post is about how I use Emacs to write Perl. I do not claim to have the best Perl setup of all...

Learn More 13 4Aug 24 '22

Make Perl Count Arguments

Unlike many programming languages, Perl doesn't check that functions are called with the correct...

Learn More 3 0Aug 17 '22

4 Unrelated Perl Tidbits

I recently acquired a copy of Programming Perl, often referred to as "The Camel Book" in the Perl...

Learn More 9 3Aug 10 '22

Testing Code That is Difficult to Test (With Perl)

Code that performs side effects is difficult to test because we need figure out how to sandbox the...

Learn More 15 0Aug 3 '22