Category Archives: exercises

Matching Perl identifiers is a lot harder now

In the Learning Perl Student Workbook (first edition), I had an exercise to match a Perl variable with a regular expression. This is supposed to be a simple exercise with a simple answer, so I excluded any special variables, such as $1 or ${^UNICODE}. A long time ago in a Perl far, far away, when [...]

Sample file downloads are on Github

In Learning Perl, we mention several times that you can download data files and some sample programs from this website. We’ve made these a project on Github. Some of these help you do some exercises and some of these are the programs inside the chapters that you may not want to type out yourself. There [...]