Docsity

CS4700 Lab Exercise #2: PERL Programming, Lab Reports of Programming Languages

Toggle sidebar
bg1
CS4700 Lab Exercise #2 10 points, Due Feb 6, 2006
Note, these lab exercises may be done in groups of one, two, or three. Working with someone else is
strongly recommended. If more than one person is involved, list all the names(as part of the comments
of the program) on ONE solution and only turn in ONE copy of the solution. Groups may change
throughout the term.
Working in groups is a BIG plus for you. Take advantage of it.
PERL Lab
From the tutorial, do exercises: Exercise 1B, Exercise 2B, Exercise 3B, Exercise 4B, Exercise 5B, and
Exercise 6B. Combine all the code into one file. Print an informative message (such as EXERCISE
1B”) before each part. Turn in via Eagle.
Hint: Setting the special variable as shown below disables buffering and allows the output to be
interleaved with your input from STDIN:
$|=1;

Partial preview of the text

Download CS4700 Lab Exercise #2: PERL Programming and more Lab Reports Programming Languages in PDF only on Docsity!

CS4700 Lab Exercise #2 10 points, Due Feb 6, 2006

Note, these lab exercises may be done in groups of one, two, or three. Working with someone else is strongly recommended. If more than one person is involved, list all the names(as part of the comments of the program) on ONE solution and only turn in ONE copy of the solution. Groups may change throughout the term. Working in groups is a BIG plus for you. Take advantage of it.

PERL Lab

From the tutorial, do exercises: Exercise 1B, Exercise 2B, Exercise 3B, Exercise 4B, Exercise 5B, and Exercise 6B. Combine all the code into one file. Print an informative message (such as EXERCISE 1B”) before each part. Turn in via Eagle. Hint: Setting the special variable as shown below disables buffering and allows the output to be interleaved with your input from STDIN: $|=1;