I need 3 simple perl modules for manipulating a DB file.
1st needs to add data into the end of the database file in this format:
ID (this should be growing)|Name|value1|value2...
2nd module needs to read all database entries from the file and print them out to screen field to field (so it should use the | as a delimiter for each field).
With the sample db entry this module should print out this:
name: Something Here
value 1: 2
value 2: 1
value 3: 5
value 4: 6
Also this module should assign the readen data to variables like $id, $name, $val1 $val2 etc...
3rd module should delete one row from the database. Eg if I specify to delete ID 6 it deletes everything (the whole line) assigned to ID 6