Perl - Part 25

[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 028

Create the file friends02.pl below. Use it to test that your database is storing your values properly, as well as determining that the pieces of text previously concatenated can be separated from each other for use.
If the system is satisfactory, you're now ready to complete the final part of the database trio of programs!

Task 029

Here we go. You've made the program to accept data; you've got a test program to ensure the data is saved correctly, now you'll create the program that given a name returns the details of your friend from your database. This is the culmination of the 25 parts of this tutorial. You get that? The culmination of the process that prepares you for the barcode reader programming assignment. The
CULMINATION!!!
So what do you do next? Well, just copy friends02.pl into friends03.pl; go back to names05.pl; copy the bit between the <SNIP>s from that program into the new friends03.pl; change a few variable names to make both program halves match and the job is done. There. Easy. Below is a sample run of how the program may look when running. You can touch it up (and really should) to make it look, well, nice on screen.
Bit of an anti-climax, eh? Try the relevant programming assignment for flavour...

[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