i'm using a perl script that opens a text file and lets me edit it in a textarea field. the following is an excerpt:
# Database Definition
# --------------------------------------------------------
# Definition of your database. Format is
# field_name => ['position', 'field_type', 'form-length', 'maxlength', 'not_null', 'default', 'valid_expr']