I suppose I *could* split it out, and will do that if all else fails. But then the functionality is in that one application. I think that if the dbi call can be made to work, then flexibility of the system would greater. I could then, with a certain text that a regexfile is to matched against, control the program flow depending on the outcome of certain found/not found queries. Also, many programs could use that lookup functionaliy.