Introduction to Perl: Ac Yr 2013-4, given January 2014
d.white@imperial.ac.ukThis web page contains all the materials for my Introduction to Perl Short Course, that I've just finished giving (13th-15th January 2014) to Dept of Computing second year students.
Changes this year:
- Gone back from IO::File to open (but 3-argument open).
- Mentioned web frameworks.
- Split out all the long exercises.
- Wrote lots more exercises (for lectures 5-8).
- Added a slide on profiling to lecture 8.
- Added a slide on Moose to the extra notes document.
Here are the course materials, covering the lectures, some exercises and some extra notes.
First Lecture
- Here are the PDF full size slides for the first lecture.
- Here are the PDF 4-up lecture notes for the first lecture.
- And here are the examples for the first lecture, as a gzipped tar file that will create a directory called lect1-examples.
Second Lecture
- Here are the PDF full size slides for the second lecture.
- Here are the PDF 4-up lecture notes for the second lecture.
- And here are the examples for the second lecture, as a gzipped tar file that will create a directory called lect2-examples.
Third Lecture
- Here are the PDF full size slides for the third lecture.
- Here are the PDF 4-up lecture notes for the third lecture.
- And here are the examples for the third lecture, as a gzipped tar file that will create a directory called lect3-examples.
Fourth Lecture
- Here are the PDF full size slides for the fourth lecture.
- Here are the PDF 4-up lecture notes for the fourth lecture.
- And here are the examples for the fourth lecture, as a gzipped tar file that will create a directory called lect4-examples.
Fifth Lecture
- Here are the PDF full size slides for the fifth lecture.
- Here are the PDF 4-up lecture notes for the fifth lecture.
- And here are the examples for the fifth lecture, as a gzipped tar file that will create a directory called lect5-examples.
Example CGI Scripts from the Fifth Lecture
- Here is eg1.cgi: a first trivial example.
- Here is eg2.cgi: first example using CGI.
- Here is eg3.cgi: a silly form.
Sixth Lecture
- Here are the PDF full size slides for the sixth lecture.
- Here are the PDF 4-up lecture notes for the sixth lecture.
- And here are the examples for the sixth lecture, as a gzipped tar file that will create a directory called lect6-examples.
Seventh Lecture
- Here are the PDF full size slides for the seventh lecture.
- Here are the PDF 4-up lecture notes for the seventh lecture.
- And here are the examples for the seventh lecture, as a gzipped tar file that will create a directory called lect7-examples.
Eighth Lecture
- Here are the PDF full size slides for the eighth lecture.
- Here are the PDF 4-up lecture notes for the eighth lecture.
- And here are the examples for the eighth lecture, as a gzipped tar file that will create a directory called lect8-examples.
Some Exercises for you to try
Here are some Perl exercises you might like to work through.
- Here are the PDF full size exercises.
- Here are the PDF 4-up exercises.
Some Extra Notes
Here are some extra notes for Perl material that didn't make it into the course, which may still be of interest.. This includes a brand new section on Moose, a new OO framework for Perl that many people now recommend.
- Here are the PDF full size extra notes.
- Here are the PDF 4-up extra notes.
dcw@doc.ic.ac.uk
Updated: January 2014