COSC 3325 Assignment # 1
Due Date: Friday, Sept. 5, 2008 by 1pm
Your first assignment in Perl is to write a script that performs several
simple tasks. I suggest doing these one by one and testing each one before
continuing on to the next one.
Here is the list of tasks your program should perform:
- Ask the user for their name, their major, and the grade they expect to
receive in cosc 3325. Output that information back to the screen in a nice,
neat format.
- Report to the screen a list of the user's favorite films.
(this list should be read from a flat file, "./films2008.txt", stored
in a directory. (1 film per line of the file).
After the list is shown, ask the user if they want to add a new film to
the list, if so get the title of the film and add it to the list.
Report back the new list after the new film is added.
Hand in:
- Cover sheet with your name, assignment number/description, and the date, stapled
as the front page of the rest of the items listed.
- Your Perl script.
- A script of the output of your perl program executing. (Run it at least 3 times
to show it works.
- A copy of the updated file containing film titles.