Đang Thực Hiện

120039 Need 3 simple perl modules

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...

sample:

1|Something Here|2|1|5|6

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:

ID: 1

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

Kỹ năng: Bất kì công việc gì, Perl

Xem thêm: sample perl, perl sample, delimiter value, 2nd screen, perl file format, perl print, perl print line, delete line file, data entry perl, perl read line file, simple perl database file, readen, database file read line, database file simple, perl file line, perl read file line, line file perl, print line file perl, simple database perl, perl line, perl read file, perl read line file print, perl database, read variables file, modules

Về Bên Thuê:
( 32 nhận xét )

Mã Dự Án: #1866209