in reply to How to go about accessing differing database table requirements with out rewriting perl code.

I have seen references to what I believe you are asking for using terms such as "data-driven programming." I cannot lay hands on an article ATM, but will poke around a bit further and revisit this node if I come up with something. In the meantime, don't forget about using PM's Super Search or another search engine to attempt searching on that phrase. You might also try searching Dr Dobb's Journal, as that tickles my memory...

planetscape
  • Comment on Re: How to go about accessing differing database table requirements with out rewriting perl code.

Replies are listed 'Best First'.
Re^2: How to go about accessing differing database table requirements with out rewriting perl code.
by swares (Monk) on Oct 28, 2005 at 02:37 UTC
    I found a few things about data driven programing but nothing inspiring, probably didn't find the right stuff. I have had to get the scripts tested and usable as they are so have not been able to do much work yet on making them more easily adaptable. I think I have what I need now, I will use a cfg file for most user changable parts of the program. Hashes in the cfg will determine valid db, web page form structures, and form inputs. Lastly, I will build a perl module to house commonly used functions. These improvements should make it easier to maintain and update.