Collecting my attempts to improve at tech, art, and life

Perl Babysteps

Tags: perl learn coolnamehere

Let’s admit it. Perl is everywhere. It powers most of the Internet, in one form or another. What? Your site doesn’t use Perl and CGI? Well, what about the administrative scripts that keep it running smoothly when everyone is snug in their beds? Even a fair chunk of Microsoft IIS servers rely on Perl for administrative tasks. I’m not saying that Perl is being used on every site on the Internet, including yours. I’m saying that Perl is probably being used on any random site you happen to look at on the Internet, including yours.

Why not learn how to use it?

This series is intended to provide the non-programmer with a gentle introduction to the Perl programing language. When you are done with it, you should feel ready to learn more. You will not be an expert, but you will be able to find the information you need to go farther. Beginners and experts alike should feel free to send me suggestions for improving this tutorial.

Perl is a rich language. There are many ways to use it, and many ways to learn it. My focus is on how a beginner can use the features of Perl 5.14 to create programs.

Even more specifically, how a beginner can use the features of Perl 5.14 to write the sort of code I would prefer to see people write. Hey. At least I’m honest.

It is explicitly not a tutorial for people who need to maintain a big pile of legacy code that hides dragons and dark secrets — or for somebody who wants to whip out quick one-liners and scripts to accomplish amazing administrative tasks. See below for some of my favorite books for different approaches to learning Perl.

The Series

  1. perl-5-babysteps-01-getting-started: Installing Perl and writing your first script
  2. perl-5-babysteps-02-user-input: Getting user input from the command line

Other Resources

Added to vault 2024-01-15. Updated on 2024-01-26