in reply to Editing Entries In A Flat Database with cgi

A slight aside comment on your code style, why not use an 'anti match' rather than a massive 'if'. something like exit unless ($command eq 'Remove')

On the other hand if there are multiple conditions, you could use a if..then..else type of construct, and branch away to different subbies

Like everyone else, i would recommend using CGI.pm, and if you're doing a structured site (rather than a one off script) check out CGI::Application. It will rock your world.

Geeze i'm easily rocked..