(worth 10% of your final mark)
Last modified: Fri Apr 09 09:27:12 EDT 2010Read Chapters 1 through 13, Chapter 15, and Chapter 19/18 (CGI Programming), of Learning Perl or Learning Perl On Win32 Systems. Do exercises at the end of each chapter. Email your solutions to Mike Boldin.
Note:
Skip Chapter 6, exercises 1 and 2. The solutions are obscure (yet elegant)...Your work must be your own! (Even though solutions are provided...)
NOTE: You must submit each Perl program as a plain text file with a .pl or .plx extension. For each chapter, you can attach the programs as separate files, or zip or tar them into one file. No other file formats (e.g., Microsoft Word, unless you show me the Perl interpreter VBA add-in that you are using!) are acceptable, and such submissions will be considered late. Similarly, Perl programs with syntax errors will be rejected.
TBA
Each chapter is worth 1 mark. You are given a 1-mark credit for Chapter 1 (no hand-in required.) For evaluation purposes, all problems of a chapter must be submitted at the same time. Late chapter submissions lose 10% per day, zero after 5 days late.
Perl downloads are here (requires password).
These solutions are provided for reference and study purposes only; your work must be your own!.
| Filename | Size in bytes | Extract Command |
|---|---|---|
mb-LearningPerl-1-10.tar.gz |
96,904 | gzip -9 -c mb-LearningPerl-1-10.tar.gz | tar xf -
or gtar zxf mb-LearningPerl-1-10.tar.gz |
mb-LearningPerl-1-10.zip |
117,902 | unzip -a mb-LearningPerl-1-10.zip |
Yes, you can do DSP in Perl: zip [1,496 bytes] tarball [1,304 bytes]
Note: The wave file I/O program breaks on Sun machines (which are big endian.) Here is a portable version [942 bytes].
Perl programs from the 2009 Fall term: zip [979 bytes] or tarball [669 bytes].
Various Perl programs from CTEC1906, the Technician version of this course:
| http://www.perl.com/ | The Perl Language Page |
| http://www.perl.org/ | The Perl Directory |
| http://learn.perl.org/ | Perl for Beginners |
| http://www.activestate.com/ | Perl distributions (for Windoze, Linux, Mac, ...) |
| http://www.cpan.org/ | The Comprehensive Perl Archive Network |
| http://perl.oreilly.com/ | Perl books from O'Reilly & Associates |