I'm trying to write a CGI program for my wife who is a school teacher (Special Ed) to assist her in managing a phone roster but have been unsuccessful. At first, it sounded rather easy until I started to write it. I was wondering if any of you PERL gurus can lend a helping hand.

The database is a flat file, pipe delimited database that contains the following fields:

* Add a record: Add a teacher/assistant to the database under the person that he/she must call next.

* Modify a record * Remove a record

* Transfer a record (occasionally a teacher will move to another section or grade level and must bring along with her/him their assistants (paras).

* Display it in her browser in a format that shows the order of the top most person down to the lowest person on the roster. This will be the order that each person will use to call the next person.

For example: She will need to enter the top most person from say Special Ed section 1, and should be able to display the phone roster for section 1. She should be able to do the same for section 2 and print only section 2 people. Also be able to display the entire phone roster of the entire database (master copy), still keeping the integrity of all the sections.

* Print the displayed phone roster

Anything that you gurus can provide will be greatly appreciated. For there I can work with whatever is provided and finish the task.