Quantifiers - Greedy and Non-Greedy: Learn Perl By Doing It, Part 9

Quantifiers in regular expressions let you specify how many characters you want to match. You can use quantifiers to specify exact numbers of characters, but the most important distinction is between....

Groups in Regular Expressions: Learn Perl By Doing It, Part 8

Groups in regular expressions allow you to pick out particular parts of the data you're matching that you can then refer to again later. For example, you can extract just a machine ID from a complex m....

Wildcards in Regular Expressions: Learn Perl By Doing It, Part 7

You can use wildcards in your Perl regular expressions to match multiple characters. Wildcards enable you to match any character, or to match any of some subset of possible characters. In this tutoria....

Writing Files and Replacing Text: Learn Perl By Doing It, Part 6

How to write and create files in Perl, and how to do a find-and-replace using regular expressions. Once we know how to read files and how to write files, we can read in one file, replace or correct te....

Reading Files and Beginning Regular Expressions: Learn Perl By Doing It, Part 5

How to read files in Perl, and also the start of an introduction to regular expressions. Regular expressions can be used in pretty much every programming language these days, and stuff you learn about....

Arrays and Checking if Files Exist: Learn Perl By Doing It, Part 4

A tutorial on using arrays in Perl and checking if files exist. Perl is totally excellent for doing stuff involving large numbers of files. Once you know Perl, you'll never need to sit there renaming....

Downloading Text and Images: Learn Perl By Doing It, Part 3

How to download text and images with just a few lines of Perl. use s....

Hello World: Learn Perl By Doing It, Part 2

A tutorial on a basic Hello World program in Perl, including some highly useful stuff that should be part of every self-respecting Perl program.....

Installation and Editors: Learn Perl By Doing It, Part 1

The first in a series of tutorial on learning Perl. The approach I take in this course is to try to show you Perl that you can actually use, concentrating as much as possible on analysing real Perl sc....