Perl - Part 18
[home] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]
Task 020
Copy names04.pl to names05.pl and make the alterations necessary to enable your program to generate output similar to that shown below. The program should now accept and store telephone numbers as well as names. When a record is later specified, it will be specified by name, not number. Then both the name and number are to be returned.
Error checking is in place for record retrieval. Note that the entries are case sensitive, and that you are not required to generate a mechanism to counteract this.

In this case we are again using the same program as we did before with a some added/modified code. A program snippet of what can be used is shown before.

When finished you should be able to answer questions on the logic of the program, such as how it flows and what the semaphores are used for.
Ensure you print this program once it's complete and show it to Fachtna for assessment.
Onwards...
[home] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]
Last updated: 20131015-16:45