in reply to Database Layout

Use CGI. Don't reinvent the wheel badly.

Using something like MLDBM or a database or use something like DBI::RAM to handle a flatfile database better.

Hope this helps...

gav^