I have a web based script that reads a DB, generates html forms, processes DB record adds/deletes/updates, etc. Others who want to use it want to store differing data elements in the database. To make this easy to deal with, rather than rewriting the code for each variant I would like to be able to specify some where what is being stored, its type, size, ect. and have one perl script be able to read/write to a DB it will create (if it does not exist) and have it generate and read html forms that conform to these data structures. I considered using global hashes or some sort of configuration file. I was told global varables or self generated perl code was not the way to go. What would be a good way of accomplishing this.