Computer Sciences Department logo

CS 368-1 (2010 Summer) — Introduction to Perl

Offered by the University of Wisconsin–Madison, Department of Computer Sciences


Dates July 12 (Mon) through August 6 (Fri) — four weeks
Times MoTuThFr 11:00–11:50 a.m.
Location 1289 Computer Sciences
Instructor Tim Cartwright · CS 4265 · cat [@] cs [.] wisc [.] edu

Course Books & Other Resources

There are no books to buy for this course. The two reference books that we suggest using are available for free online through the UW library system.

Head over to our resources page for links to the book and lots of links to other scripting resources.

Also check out the page for the other 2010 Summer CS 368 section — in Python!

Office Hours

Wednesdays, 10–11 a.m., CS 4265 (my office)

You can also make an appointment (by email is probably best) to talk to me. I work full time here in the CS building, so will often be available. However, dropping by my office without an appointment is not guaranteed to work.


I plan to post slides and homework assignments on their appointed days.

# Day Topic Reading Slides Code Homework
1 12 July (Mon) introductions & overview LP4: Ch.1, Introduction PDF homework
2 13 July (Tue) basic syntax LP4: Ch.2, Scalar Data PDF code homework
3 15 July (Thu) collections LP4: Ch.3, Lists and Arrays
LP4: Ch.6, Hashes
PDF homework
4 16 July (Fri) basic I/O LP4: Ch.5, Input and Output PDF homework
5 19 July (Mon) subroutines LP4: Ch.4, Subroutines PDF code homework
6 20 July (Tue) data structures perlreftut PDF homework
7 22 July (Thu) regular expressions LP4: Ch.7, In the World of RegExps
LP4: Ch.8, Matching with RegExps
LP4: Ch.9, Processing Text with RegExps
PDF homework
8 23 July (Fri) standard library PP3: Ch.29, Functions [skim] PDF homework
9 26 July (Mon) system interaction LP4: Ch.14, Process Management PDF code homework
10 27 July (Tue) correctness
(errors, debugging, testing)
PP3: Ch.20, The Perl Debugger
Perldoc: Test::Simple, Test::More
PDF homework
11 29 July (Thu) recipes 1:
dates, times, & RE tricks
[pick sections of interest]
PC2: Ch.3, Dates and Times
PC2: Ch.6, Pattern Matching
PDF homework
12 30 July (Fri) recipes 2:
files, input, and config
[pick sections of interest]
PC2: Ch.1, Strings
PC2: Ch.7, File Access
PC2: Ch.8, File Contents
PDF code homework
13 2 August (Mon) Recipes III:
(Mostly) Numeric Data
[pick sections of interest]
PC2: Ch.2, Numbers
PC2: Ch.8, File Contents
PDF homework
14 3 August (Tue) Recipes IV:
PC2: Ch.4, Arrays
PC2: Ch.5, Hashes
PDF homework
15 5 August (Thu) Security & Performance [as you see fit:]
Perldoc: perlsec
Perldoc: Benchmark module
PDF homework
16 6 August (Fri) Script Development PDF

Reading Legend: