This laboratory focuses entirely upon programming in Perl. We understand that many of you have had no programming experience at all, so we've tried to make this laboratory as simple as possible. However, don't feel too bad if you don't completely understand what you're doing - we aren't expecting you to learn how to program in just 40 minutes. You should be able to complete these exercises, though. We're planning on making one part of the project a programming exercise, so it's in your best interests to at least attempt to complete this assignment and ask questions if you run into trouble.
To a computer, Perl programs are just ordinary text files. They only know to run a Perl program if you give your Perl program the appropriate permissions. In this case, the minimum permissions are read and execute.
If you've correctly specified the shebang line and set the correct permissions, executing your Perl program is as simple as typing something like the following:
The first half of this laboratory will be modifying the guessing number game presented during lecture and in the lecture notes. I've conveniently placed a copy of this program in the /home/cc/cs198/fa05/class/cs198-ec/labs/lab7 directory.
This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.71)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -split 0 -show_section_numbers -no_navigation decal_lab_week7.tex
The translation was initiated by zeroion on 2005-10-24